--- title: "Manage Controller roles and assignments" slug: "build-ai-ready-systems-operate-platform-manage-controller-roles-assignments" description: "Create a business role with a valid domain, distinguish it from environment group mapping, and verify the actual effective grants for a user." tags: ["Platform Operations", "Controller Administration", "Developer", "Operator"] updated: 2026-12-01T08:10:26Z published: 2026-12-01T08:10:26Z canonical: "docs.aifabrix.ai/build-ai-ready-systems-operate-platform-manage-controller-roles-assignments" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.aifabrix.ai/llms.txt > Use this file to discover all available pages before exploring further. # Manage Controller roles and assignments 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](/docs/operate-platform-manage-controller-roles) 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 1. Confirm the installed role and identity command families and the intended Controller/environment. 2. Read the existing role and its domain before creating a new catalog record. A new role needs a domain from the static domain catalog. 3. 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. 4. 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. 5. Inspect effective access for a representative subject after the mapping change. Verify exclusions as well as granted roles. 6. 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](/docs/operational-trust-users-groups-roles). ## Related - [Manage Controller users and groups with CLI](/build-ai-ready-systems-operate-platform-manage-controller-users-groups.md) - [Users, groups, and roles](/operational-trust-users-groups-roles.md) - [Manage Controller roles](/operate-platform-manage-controller-roles.md)