Skip to content

Commit d4e9bc0

Browse files
authored
docs: Update roles in permissions concept (#4958)
* docs: Update roles in permissions concept * docs: Revise intro paragraph
1 parent 2191aa1 commit d4e9bc0

File tree

1 file changed

+10
-10
lines changed
  • website/content/docs/concepts/security/permissions

1 file changed

+10
-10
lines changed

website/content/docs/concepts/security/permissions/index.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,16 @@ Grant strings can be supplied via a human-friendly string syntax or via JSON.
6161

6262
## Roles
6363

64-
Roles map grant strings to _principals_, currently users and groups. Every role
65-
assigns grants within a specific scope: either the scope in which the role
66-
exists, or a scope that is a child of the scope in which the role exists,
67-
controlled by the role's "grant scope ID" value
68-
69-
When a request is made, the scope in which to discover grants is either provided
70-
by the client (if against a resource collection itself) or is looked up using
71-
the resource's ID. This scope ID, along with the user's ID and the IDs of the
72-
groups the user belongs to, controls which roles are fetched to provide grants
73-
for the request.
64+
Roles map grant strings to principals, which are users, groups, and managed groups.
65+
Every role assigns grants within a scope, as determined by the role's grant scope IDs.
66+
67+
You can assign roles to multiple scopes to grant permissions to users who need access to resources across multiple scopes.
68+
You can also configure child scopes to inherit roles from parents.
69+
For example, the global scope could have multiple child scopes called "orgs".
70+
When you create a role in the global scope, you can configure it to apply to those children org scopes.
71+
72+
When a user makes a request, the client may provide the scope or Boundary may look it up using the resource's ID.
73+
This scope ID, along with the user's ID and the IDs of the groups the user belongs to, control which roles Boundary fetches to provide grants for the request.
7474

7575
A role provides grants for a request if the grant scope ID matches the request's
7676
scope ID and one or more of the following are true:

0 commit comments

Comments
 (0)