Skip to content

Manage user group permissions

This page explains how to add, update, and remove permissions for scoped and unscoped user groups.

Important

For an unscoped group (for example "Avengers"), you can only successfully use modules that support unscoped assignment (in this example: "IAM-Module"). For a scoped group (for example "Fantastic Four"), you can only successfully use modules that support scoped assignment (in this example: "backend-tests-int-module-mock"). If you select a module that does not match the group's scope, the Add Permission dialog shows a warning and Save button stays disabled.

  1. In the User Groups list, find the group you want to add permissions.

  2. In the Actions column for that group, click the View Group Details (profile) icon. Do not click Delete Group.

  3. The group Details screen opens (Details / Subgroups / Permissions tabs).

    Group Details for Avengers

    Figure 17. Group Details for Avengers

Open the Permissions tab

  1. On the User groups screen, open the Permissions tab (next to Subgroups). You should see the Permissions list for this group and the Add Permission button.

    Avengers Permissions tab before assigning a permission

    Figure 18. Avengers Permissions tab before assigning a permission

Add permission — validation failures

  1. Click Add Permission. An Add Permission dialog opens.

  2. Under Module, select "IAM-Module" (if not already selected).

  3. Failure example — role required: If Roles → Action is not selected, Save stays disabled.

    Add failure — role required / Save disabled

    Figure 19. Add failure — role required / Save disabled

Cross-scope validation — unscoped group cannot use a scoped module

  1. In the Add Permission dialog, select the module that supports only scoped permissions (example:"backend-tests-int-module-mock").

  2. A warning message appears and Save stays disabled.

    Avengers (unscoped) — scoped module blocked

    Figure 20. Avengers (unscoped) — scoped module blocked

  3. This is the validation for the cross-scope mismatch on an unscoped group: scoped modules remain selectable in the list, but the dialog blocks Save and explains that the selected module cannot be assigned to a group without a scope.

  4. Under Module, select "IAM-Module".

  5. Scope type is Unscoped by default and cannot be changed for an unscoped group.

  6. Under Roles → Action, select View (view).

  7. Under Resource, select Users (users).

    Avengers (unscoped) — Unscoped selected by default and not editable

    Figure 21. Avengers (unscoped) — Unscoped selected by default and not editable

Add permission — success (unscoped group)

  1. Click Add Permission (if the dialog is not already open).

  2. Under Module, select "IAM-Module". Scope type is Unscoped by default and cannot be changed for an unscoped group.

  3. Under Roles → Action, select View (view).

  4. Under Resource, select Users (users).

    Important

    When adding or updating a user’s permissions, you may only assign permissions that you hold yourself. You can only view/manage permissions that match your own scope — scoped users are limited to their entity/entity group; unscoped users are limited to unscoped permissions.

    Add Permission form completed (IAM-Module / View / Users)

    Figure 22. Add Permission form completed (IAM-Module / View / Users)

  5. Click Save.

  6. Success message: Permission added

    Success / attention message after adding the permission

    Figure 23. Success / attention message after adding the permission

  7. Confirm the permission appears in the Permissions list (Module IAM-Module, Roles View / Users).

Update permission (unscoped group)

  1. In the permission list Actions column for the permission you just created, click the Edit Permission (pencil) icon. Do not click Delete Permission.

    • The scope of the user group is shown as read-only (for example "Unscoped") because it is derived from the user group's scope and cannot be changed.

    Update Permissions dialog

    Figure 24. Update Permissions dialog

  2. Failure example — clear Resource: Remove the Resource value so Resource * is empty. The field shows "This field is required" and the Save button stays disabled.

    Update failure — Resource required

    Figure 25. Update failure — Resource required

  3. Re-select Resource (for example Permissions (permissions) or Users (users)).

  4. Optionally change Action (for example from View to Manage) if available.

  5. Click Save.

  6. Success message: "Permission updated"

    Important

    When adding or updating a user’s permissions, you may only assign permissions that you hold yourself. You can only view/manage permissions that match your own scope — scoped users are limited to their entity/entity group; unscoped users are limited to unscoped permissions.

    Success message after updating the permission

    Figure 26. Success message after updating the permission

  7. Confirm the Permissions list shows the updated permission.

Remove permission (unscoped group)

  1. In the permission list Actions column for that permission, click the Delete Permission (trash) icon. Make sure you select the correct row.

  2. A confirmation dialog appears. If this is the wrong permission, click Cancel.

    Delete Permission confirmation dialog

    Figure 27. Delete Permission confirmation dialog

  3. Click Delete in the confirmation dialog.

  4. Success message: "Permission deleted"

    Success message after deleting the permission

    Figure 28. Success message after deleting the permission

  5. Confirm the permission no longer appears in the Permissions list.

    Permissions list after remove

    Figure 29. Permissions list after remove

Cross-scope validation — scoped group "Fantastic Four" cannot use an unscoped module

  1. Return to User Groups.

  2. Open group details for "Fantastic Four" (scoped to "HSBC Bank (1)"), then open the Permissions tab.

    Fantastic Four Permissions tab before assigning a permission

    Figure 30. Fantastic Four Permissions tab before assigning a permission

  3. Click Add Permission.

    Add Permission dialog (scoped group)

    Figure 31. Add Permission dialog (scoped group)

  4. Under Module, select the module that supports only unscoped permissions (example: "IAM-Module").

  5. A warning message appears and Save stays disabled.

    Fantastic Four (scoped) — unscoped module blocked

    Figure 32. Fantastic Four (scoped) — unscoped module blocked

Add permission — success (scoped group)

  1. Under Module, select "backend-tests-int-module-mock".

  2. The dialog shows the group entity scope (Entities: "HSBC Bank (1)") as non-editable.

    Scoped module selected (entity HSBC Bank (1) shown)

    Figure 33. Scoped module selected (entity HSBC Bank (1) shown)

  3. Under Roles → Access, select "Report Viewer (reportViewer)".

  4. Additional required role fields appear for this module (tree / cascading selections).

    Important

    When adding or updating a user’s permissions, you may only assign permissions that you hold yourself. You can only view/manage permissions that match your own scope — scoped users are limited to their entity/entity group; unscoped users are limited to unscoped permissions.

    Add Permission form completed for Fantastic Four

    Figure 34. Add Permission form completed for Fantastic Four

  5. Click Save.

  6. Success message: "Permission added"

    Success message after adding the scoped-group permission

    Figure 35. Success message after adding the scoped-group permission

  7. Confirm the permission appears in the Permissions list.

Update permission (scoped group)

  1. In the permission list Actions column for that permission, click the Edit Permission (pencil) icon.

    • The scope of the user group is shown as read-only (for example "Entities → HSBC Bank (1)") because it is derived from the user group's scope and cannot be changed.

    Update Permissions dialog (scoped group)

    Figure 36. Update Permissions dialog (scoped group)

  2. Change Access (for example to "Remittance Viewer (remittanceViewer)") and ensure required cascading fields remain filled.

    Update Permissions form completed

    Figure 37. Update Permissions form completed

  3. Click Save.

  4. Success message: "Permission updated"

    Success message after updating the permission

    Figure 38. Success message after updating the permission

  5. Confirm the Permissions list shows the updated permission.

    Permission list after update

    Figure 39. Permission list after update

Remove permission (scoped group)

  1. In the permission list Actions column for that permission, click the Delete Permission (trash) icon.

  2. A confirmation dialog appears.

  3. Confirmation text: "Are you sure you want to permanently delete this permission from module "backend-tests-int-module-mock"? This action cannot be undone."

    Delete Permission confirmation dialog

    Figure 40. Delete Permission confirmation dialog

  4. Click Delete in the confirmation dialog.

  5. Success message: "Permission deleted"

    Success message after deleting the permission

    Figure 41. Success message after deleting the permission

  6. Confirm the permission no longer appears in the Permissions list.