The role catalog expresses responsibility; environment mappings grant roles to groups. Use the catalog and identity command families for their respective tasks. Neither a purpose statement nor catalog creation proves access.
Prerequisites
Use an approved installation and environment, a signed-in Builder CLI, and the specific read or mutation permissions required by the task. Confirm command availability with installed help before copying an example. The example names below are placeholders; choose approved records and record their current state before a write.
Where it lives
The Controller holds the authoritative catalog or identity record. Use the administrator guide to inspect the corresponding portal workflow. Keep a reviewed copy of non-secret change inputs and use your organization’s protected mechanism for credentials.
How to set
- Confirm the installed role and identity command families and the intended Controller/environment.
- Read the existing role and its domain before creating a new catalog record. A new role needs a domain from the static domain catalog.
- Create only an approved enterprise role. Idempotent create can report success for an existing key, so compare its readback to your expected purpose and domain.
- Inspect the current environment mapping before using identity role set-groups. That operation replaces the whole group set for this role; retain every intended group.
- Inspect effective access for a representative subject after the mapping change. Verify exclusions as well as granted roles.
- Export catalog definitions for review when needed. An export is not a full backup of user memberships, environment mappings or all runtime state.
Start with read-only inspection:
aifabrix auth status
aifabrix role --help
aifabrix role list --domain-key sales
aifabrix role get sales-manager
aifabrix identity role list -e dev
For an explicitly approved change, the following example shows a write followed by readback:
aifabrix role create --key sales-manager --display-name "Sales Manager" --domain sales
aifabrix role get sales-manager
aifabrix identity role set-groups sales-manager -e dev --groups "Sales Managers"
aifabrix identity access --user alice@example.com -e dev
Defaults and examples
Use lowercase hyphenated role keys. A business-role definition can carry business meaning without granting any platform permission. Export and import operate on catalog definitions; import is not an instruction to replace live access. Group names come from the Controller, not from the role display name.
Validate
Repeat the read commands against the same target and compare keys, state and dependent references with the approved change. Record the installed versions, target, safe output summary and time. Do not report a successful write or idempotent response as proof of downstream propagation, effective access or business-process correctness. Where access is involved, verify both intended grants and exclusions in a separately authorized test.
Common mistakes
Unknown domains must be corrected first. Protected or platform-managed role deletion is refused. Deletion of an allowed role removes its dependent access; do not use it as an update strategy. If a user retains access, inspect other granting groups and direct assignments.
Limits
These procedures describe the source-reviewed Controller and Builder interfaces as of 30 November 2026. Availability depends on the installed release, permissions and enabled features. Confirm the screen and installed command help before a change; an absent action is not permission to bypass the supported interface. Live access was not tested for this documentation review.
The conceptual background is the related operating model.