Skip to content

Commit

Permalink
feat(doc): Update core-concepts
Browse files Browse the repository at this point in the history
Add section about exact exclusion parameters
  • Loading branch information
tOgg1 committed Dec 20, 2020
1 parent 4718adb commit c814228
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/guide/core-concepts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,12 @@ Another problem we might have, is revoking specific permissions. Say for instanc

We can achieve this with an **exclusion permission**: :code:`-organization:2`. In combination, these two permission yields access to all organizations apart from the organization with id 2.

Note that exclusion permissions always takes precedent over inclusion permissions.
Note that exclusion permissions always takes precedence over inclusion permissions.


Exact exclusion permissions
-------------------------------

We can combine the above two notions, e.g. `-=organization:2`. This will revoke access to exactly the permission `organization:2`.

Interestingly, this will still grant access to required permissions such as `organization:2:user`.

0 comments on commit c814228

Please sign in to comment.