identity access
Role-based access for every kind of principal
Applies to: Identity and access. Who may do what: principals, sessions, roles, policies, relationships, keys and certificates, machines, devices, delegation and agents.
Written in commons/data/models/identity-access/mod.ts:16. Requires identity. Required by identityAbac, identityRebac, identityDelegation. 9 concepts, 7 code lists.
Diagram source
flowchart LR
access_role -->|tenant| tenant
entitlement -->|tenant| tenant
invitation_role -->|invitation| invitation
invitation_role -->|role| accessRole
role_assignment -->|grantedBy| principal
role_assignment -->|principal| principal
role_assignment -->|role| accessRole
role_assignment -->|tenant| tenant
role_inheritance -->|junior| accessRole
role_inheritance -->|senior| accessRole
role_permission -->|permission| permission
role_permission -->|role| accessRole
separation_rule -->|tenant| tenant
separation_rule_role -->|role| accessRole
separation_rule_role -->|rule| separationRuleConcepts
| Concept | Definition | Attributes | Written in |
|---|---|---|---|
accessRole | A set of permissions that is granted together, and that may inherit those of other roles | 8 | commons/data/models/identity-access/concepts.ts:35 |
entitlement | What a tenant may use, as distinct from what a principal may do | 6 | commons/data/models/identity-access/concepts.ts:120 |
invitationRole | A role that an invitation grants when it is accepted | 0 | commons/data/models/identity-access/concepts.ts:136 |
permission | A thing that can be done, named by its resource and its action | 8 | commons/data/models/identity-access/concepts.ts:18 |
roleAssignment | A role granted to a principal of any kind, in a tenant, perhaps for one resource and for a time | 10 | commons/data/models/identity-access/concepts.ts:95 |
roleInheritance | A role that inherits another: whoever holds the senior role holds what the junior role holds | 0 | commons/data/models/identity-access/concepts.ts:53 |
rolePermission | A permission that a role holds | 0 | commons/data/models/identity-access/concepts.ts:62 |
separationRule | A rule that no principal may hold too many of a set of roles together | 5 | commons/data/models/identity-access/concepts.ts:71 |
separationRuleRole | A role that a separation rule is about | 0 | commons/data/models/identity-access/concepts.ts:86 |
Code lists
| Code list | Definition | Codes |
|---|---|---|
assignmentStatus | Where a role assignment is | 3 |
assignmentVia | How a role came to be assigned | 4 |
entitlementSource | Where a tenant's entitlement comes from | 3 |
riskLevel | How much harm a permission can do if it is misused | 4 |
roleKind | Whether a role is the platform's or a tenant's | 2 |
separationKind | How a separation of duties is held | 1 |
sideEffect | What using a permission does | 5 |