Skip to content

Roles ​

Document Information

Version: v2.3 Updated: 2026-11-16

Feature Overview ​

ItemContent
Applicable RoleUser
Navigation PathSettings > Members & Roles > Roles
Page Route/user/user-space/roles
Managed ObjectRole names, role codes, role descriptions, and permission scopes

Beginner Explanation ​

Roles are reusable permission sets. Select page and action permissions in a role, then assign the role to members so they receive the same access rules.

Terms Quick Reference ​

TermDescription
RoleA set of page and action permissions.
Role codeThe identifier shown for the selected role; the current create and edit forms do not expose this field.
Initial permissionsThe first page, action, or data permissions selected when a role is created.
Permission scopeThe pages a role can access and the actions it can perform.

Prerequisites ​

  1. The current account has permission to view or manage roles. The visible Add, Edit, Authorize, and Delete entries depend on the current permission.
  2. Before creating a role, define its name, optional description, and at least one initial permission.
  3. Before editing or authorizing a role, confirm its member scope, target services, and permission impact.

Page Description ​

The left panel groups built-in system roles and custom roles and provides role-name/code search and an add entry. Selecting a role displays its name, code, description, creation time, and associated members on the right. The member table shows Username, Name, Contact, Tags, Created at, Status, and Actions, with username/name search and tag filtering.

The create form contains role name, role description, and an Initial permissions area. Initial permissions are grouped by service, and the display can switch between "Shortcuts" and "Pills". Role authorization also provides menu-based Page access, Available actions, and Data access permissions.

Role and member lists

The figure shows a fully loaded role page: built-in and custom roles on the left, with the selected built-in role and its member record on the right. Built-in roles expose “View role”; manageable custom roles also expose permission configuration, edit, and delete entries at the upper right, subject to the current permission.

Select the role on the left, then review its information and member scope on the right. Built-in and custom roles expose different actions. The member table is not a table of role fields; role creation and permission configuration remain separate tasks.

Main Operations ​

View Roles ​

  1. Go to Settings > Members & Roles > Roles.
  2. Use role-name/code search in the left panel and select the intended role. Clear the search field and search again to remove a condition.
  3. Check the name, code, description, and creation time in the information area, then review associated members and their count in the member table.
  4. Use "View role" for a built-in role. For a manageable custom role, continue through the edit or permission-configuration entry shown at the upper right. Viewing the page does not require saving or changing a role.

Result validation: The target role can be selected on the left, and its information and member scope are readable without a loading indicator or skeleton placeholders.

Note: Do not treat pagination, filtering, or sorting as role-object operations. Do not infer fields that are not shown on this page from another page.

FAQ: If the list is empty, clear the left search field, search again, and wait for data to load. If it remains empty, check the tenant scope and role-view permission.

Create a Role ​

  1. Go to Settings > Members & Roles > Roles and click "Add Role".
  2. Enter a role name in "Role name". The field is required, and its length limit is shown by the counter.
  3. Enter the purpose and intended users in "Role description". This field is optional.
  4. In "Initial permissions", select at least one permission. Select an associated service first, then choose the page access, available action, or data access entries shown on the page.
  5. Click "Preview and save", review the role name, description, and initial permission scope, and complete creation according to the page prompt.

Create a Role

The figure shows the inline Add Role page, not a dialog, with role name, description, Initial permissions, and the complete Cancel/Preview and save footer. Fields are empty and 0 permissions are selected; the example shows the Settings service and Dashboard permission, not the entire permission catalogue. The requirement to select at least one permission is UI help, not submission validation performed here.

Result validation: After creation, locate and select the role on the left, then check its code, creation time, and currently available actions in the information area on the right.

Note: Select at least one initial permission. Before submission, confirm the service, page, and action scope so the new role does not receive unnecessary high privileges.

FAQ: If creation cannot continue after "Preview and save", check that the role name is present, at least one initial permission is selected, and the current account can manage roles.

Edit a Role ​

  1. Go to Settings > Members & Roles > Roles, select a manageable custom role on the left, and use its edit entry at the upper right.
  2. Review "Role name" and "Role description" in the edit form. The current edit form does not expose a role-code field.
  3. Change the required name or description and confirm that the text does not mislead members or expose sensitive information.
  4. Click "Save", confirm the page message, and return to the Roles list.

Edit a Role

The figure shows the complete Edit Role dialog for the existing example role Demo, including role name, description, and Cancel/Save buttons. It was only opened and cancelled; no name, description, or permission change was saved. This dialog is not the permission-configuration page.

Result validation: The role name or description is updated in the list, the role code and creation time remain visible, and reopening the form shows the latest values.

Note: Changing the name or description affects how members and audit records identify the role. Do not infer that the role code or permission scope can be changed from this form.

FAQ: If Edit is hidden or Save fails, check that the role belongs to the current tenant, the current account has management permission, and the name meets the length and content limits.

Configure Permissions ​

  1. Go to Settings > Members & Roles > Roles, select a manageable custom role on the left, and use its permission-configuration entry at the upper right.
  2. Confirm the role name in the authorization-page title, then review the selected-permission total and associated-service counts.
  3. Select Model Services, On-Prem, On-Cloud, Billing, or Settings, then use Menu navigation to locate the target page.
  4. Adjust Page access, Available actions, and Data access as required. Use "Shortcuts" or "Pills" to change the display mode.
  5. Click "Preview and save", review the permission changes and affected scope, and complete the authorization update according to the page prompt.

Configure Permissions

The screenshot shows the authorization workbench, service counts, menu navigation, and permission columns. Selected totals and service counts vary with the role configuration.

Result validation: After returning to the Roles list, members using this role can see the expected pages. Reopening "Configure Permissions" shows the expected selected permissions and service counts.

Note: Authorization changes the menus and actions available to members. Before clearing page access, confirm that the change does not remove a required management entry.

FAQ: If a service shows 0 on the authorization page, confirm whether that service exposes assignable permissions in the current tenant, then check the role's authorization-management permission.

Delete a Role ​

  1. Go to Settings > Members & Roles > Roles, select a manageable custom role on the left, and use its delete entry at the upper right.
  2. In the confirmation prompt, verify the role name and impact. Confirm that the role no longer controls member access.
  3. If the page reports member assignments or another dependency, resolve the dependency first, then return to the Roles list and start deletion again.
  4. After confirming the scope, click the final delete button in the prompt and wait for the result.

Result validation: After successful deletion, the role is absent from the list and a search for its former name returns no match. The member's effective role should also be adjusted as intended.

Note: Deletion is an irreversible object-level operation. Do not delete a role that members still use or that still performs a management function.

FAQ: If the role remains after deletion, refresh the page and check for a member-assignment, system-protection, or insufficient-permission message.

Parameter Quick Reference ​

Query and Filters ​

Query controls are grouped by their documented page area. Grouped rows are not new UI fields. An em dash means the column is unspecified; it does not establish backend requirements, types, or defaults.

Field NameRequiredField TypeExampleDescription
Role name/code; member username/name / tags———The left panel groups built-in system roles and custom roles and provides role-name/code search and an add entry. Selecting a role displays its name, code, description, creation time, and associated members on the right. The member table shows Username, Name, Contact, Tags, Created at, Status, and Actions, with username/name search and tag filtering.

Existing Fields ​

Field NameRequiredField TypeExampleDescription
Role nameYesText, up to 64 charactersResource ReviewerIdentifies the role and is available in create and edit forms.
Role descriptionNoText, up to 255 charactersReviews resource accessDescribes the role's purpose and intended users.
Role codeSystem fieldTextexample-role-codeShown in the selected role information; the current create and edit forms do not expose it.
Initial permissionsRequired on createPermission setRoles: Page accessAt least one permission must be selected when creating a role.
Associated serviceNoSingle choiceSettingsSwitches the service whose permissions are being configured.
Permission display modeNoSingle choiceShortcutsSwitches between shortcut and pill displays.
Role-name filterNoTextreviewNarrows the role list by role name.

Pitfalls ​

  • A role created without Initial permissions does not have a usable permission scope.
  • Role code is visible in the selected role information, but the create and edit forms do not contain that field. Do not fill in a nonexistent input.
  • Service counts and selected totals change with the role. When a count is 0, confirm whether the current service has assignable permissions.
  • A list filter only affects role records; it does not replace permission selection in the authorization workbench.
  • Do not put accounts, passwords, Keys, internal addresses, or customer-sensitive information in role names or descriptions.

Result Validation ​

Check ItemSuccess SignalIf Abnormal
List searchOnly matching records appear after a role-name searchClear the left search field and search again, then verify the role name or code.
Creation resultThe new role appears with a role code and creation timeCheck the initial-permission count, duplicate-name message, and role-management permission.
Edit resultThe updated name or description appears in the listReopen the edit form and check the length limit and tenant ownership.
Authorization resultSelected totals and service counts match the intended scopeCheck Menu navigation, Page access, Available actions, and Data access for each service.
Deletion resultThe role is absent from the list and the former filter returns no matchRead the page message and check member assignments, protection rules, and delete permission.

FAQ ​

Why is the target role missing from the list? ​

Symptom:

The expected role does not appear on the Roles page.

Possible causes:

  • A role-name filter is still active.
  • The current account is viewing another tenant or lacks role-view permission.

Resolution:

  1. Clear the left search field and search again.
  2. Confirm the tenant scope and role-view permission.
  3. Reload the Roles list.

Why cannot I continue while creating a role? ​

Symptom:

The create form cannot complete preview or save.

Possible causes:

  • Role name is empty or exceeds the length limit.
  • No Initial permissions are selected.

Resolution:

Enter a valid role name, select at least one page, action, or data permission in Initial permissions, and select "Preview and save" again.

Why does the authorization page show zero permissions? ​

Symptom:

A service or permission column shows 0, and no selectable entries are visible.

Possible cause:

The service has no assignable permissions, or the current role lacks permission to manage that service's scope.

Resolution:

Switch to another service to confirm that the page works. If the target service remains at 0, ask the tenant administrator to check that service's permission configuration.

Why is Role code missing from the edit form? ​

Symptom:

The edit form contains only Role name and Role description.

Possible cause:

Role code is a role-information identifier, and the current edit form does not expose a change entry.

Resolution:

Verify Role code in the selected role information. When the role identity must change, follow the tenant's role-governance process to create and authorize a new role instead of treating another field as Role code.

What happens to member access after a role is deleted? ​

Symptom:

Member assignments must be checked before deleting a role.

Possible cause:

The role may still be assigned to members, so deleting it can change their visible pages and available actions.

Resolution:

Review role assignments on Members and follow the page prompt for any dependency. After the assignment changes, verify the members' effective permissions.

Notes ​

  • Role permissions directly control member visibility and available actions; use least privilege when authorizing.
  • Before editing or deleting a role, confirm member assignments, service scope, and rollback information.
  • Use role names and descriptions for management context only. Do not include accounts, passwords, Keys, internal addresses, or customer-sensitive information.

Next Steps ​

  1. Assign the confirmed role to target members on Members and verify their effective permissions.
  2. Use Member Quotas to limit resource usage and, when needed, use Operation Logs to review role changes.

Related pages: Members、Operation Logs