IF Commons GitHub

identity abac

Attribute-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-abac/mod.ts:119. Requires identityAccess. Required by identityDelegation. 4 concepts, 7 code lists.

permission requiresRole scopePrincipal tenant tenant assertedBy definition principal definition tenant access_policy permission accessRole principal tenant attribute_definition principal_attribute attributeDefinition resource_attribute
How the concepts of identity abac relate
Diagram source
flowchart LR
  access_policy -->|permission| permission
  access_policy -->|requiresRole| accessRole
  access_policy -->|scopePrincipal| principal
  access_policy -->|tenant| tenant
  attribute_definition -->|tenant| tenant
  principal_attribute -->|assertedBy| principal
  principal_attribute -->|definition| attributeDefinition
  principal_attribute -->|principal| principal
  resource_attribute -->|definition| attributeDefinition
  resource_attribute -->|tenant| tenant

Concepts

ConceptDefinitionAttributesWritten in
accessPolicyA rule of attribute-based access: a condition over attributes that allows or refuses an action; a refusal always wins16commons/data/models/identity-abac/mod.ts:87
attributeDefinitionAn attribute that decisions may use, with its type, where its values come from and how old they may be11commons/data/models/identity-abac/mod.ts:32
principalAttributeA value of an attribute for a principal of any kind4commons/data/models/identity-abac/mod.ts:53
resourceAttributeA value of an attribute for a resource6commons/data/models/identity-abac/mod.ts:71

Code lists

Code listDefinitionCodes
attributeCategoryWhat an attribute is an attribute of4
attributeSourceWhere the values of an attribute come from5
attributeValueTypeThe type of the values of an attribute5
expressionLanguageThe language a condition is written in4
obligationWhat must happen before an allowed action is done3
policyEffectWhat a policy decides2
sensitivityLevelHow sensitive the values of an attribute are4

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