IF Commons GitHub

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.

tenant tenant invitation role grantedBy principal role tenant junior senior permission role tenant role rule access_role tenant entitlement invitation_role invitation accessRole role_assignment principal role_inheritance role_permission permission separation_rule separation_rule_role separationRule
How the concepts of identity access relate
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| separationRule

Concepts

ConceptDefinitionAttributesWritten in
accessRoleA set of permissions that is granted together, and that may inherit those of other roles8commons/data/models/identity-access/concepts.ts:35
entitlementWhat a tenant may use, as distinct from what a principal may do6commons/data/models/identity-access/concepts.ts:120
invitationRoleA role that an invitation grants when it is accepted0commons/data/models/identity-access/concepts.ts:136
permissionA thing that can be done, named by its resource and its action8commons/data/models/identity-access/concepts.ts:18
roleAssignmentA role granted to a principal of any kind, in a tenant, perhaps for one resource and for a time10commons/data/models/identity-access/concepts.ts:95
roleInheritanceA role that inherits another: whoever holds the senior role holds what the junior role holds0commons/data/models/identity-access/concepts.ts:53
rolePermissionA permission that a role holds0commons/data/models/identity-access/concepts.ts:62
separationRuleA rule that no principal may hold too many of a set of roles together5commons/data/models/identity-access/concepts.ts:71
separationRuleRoleA role that a separation rule is about0commons/data/models/identity-access/concepts.ts:86

Code lists

Code listDefinitionCodes
assignmentStatusWhere a role assignment is3
assignmentViaHow a role came to be assigned4
entitlementSourceWhere a tenant's entitlement comes from3
riskLevelHow much harm a permission can do if it is misused4
roleKindWhether a role is the platform's or a tenant's2
separationKindHow a separation of duties is held1
sideEffectWhat using a permission does5

Titles, headings, exports, tables, columns and requirements. Esc closes.