Skip to content

Commit

Permalink
docs(access): add link to docs on team page
Browse files Browse the repository at this point in the history
!28 closes #39
  • Loading branch information
jon-nfc committed Jun 17, 2024
1 parent aef276b commit 27b62d1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/access/views/team.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ def get(self, request, *args, **kwargs):
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)

context['model_docs_path'] = self.model._meta.app_label + '/' + self.model._meta.model_name + '/'


organization = Organization.objects.get(pk=self.kwargs['organization_id'])

context['organization'] = organization
Expand Down
14 changes: 14 additions & 0 deletions docs/projects/django-template/user/access/team.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Team
description: No Fuss Computings Team Documentation for Django ITSM
date: 2024-06-17
template: project.html
about: https://gitlab.com/nofusscomputing/infrastructure/configuration-management/django_app
---

A Team is subordinate to an organization and is a way of grouping permissions with users. A team as the name implies contains application users whom once assigned to a team will be granted the permissions of that team. Permission assigned are an _"allowed"_ to conduct that action. It is not possible to add deny permissions

Team permission are not application wide, their scope is limited to objects that are a part of the same team. In addition any object that is marked `is_global` a user with the objects view permission can see that object.

!!! warning
An Organization manager can conduct **ALL** operations against a team regardless of their permissions.
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ nav:

- projects/django-template/user/access/organization.md

- projects/django-template/user/access/team.md

- projects/django-template/user/configuration.md

- projects/django-template/user/api.md
Expand Down

0 comments on commit 27b62d1

Please sign in to comment.