12.8. Change a set of roles/groups for a user

User shall have ROLE_ADMIN to change groups(roles) for a user.

There are two ways to set a role or group to a user:

  1. Change a set of roles and groups to a selected user from the Users tab.
  2. Change a member list for a selected role or group.

Note: the scenarios below shows a process using Roles as an example. Setting groups for a user happens in the same manner.

Change a set of roles and groups to a selected user

  1. Navigate to User management tab. Make sure that you are in the Users tab area.
  2. Find user on the list (you can use Search field - see the picture below, 1).
  3. Click the Edit button (see the picture below, 2).
    CP_ChangeSetOfRolesGroupsForUser
  4. The editing form is open. To assign a role or group to the user, click on "Add role or group" field and select the desired item from the drop-down list.
    CP_ChangeSetOfRolesGroupsForUser
  5. When the desired item is selected, the + Add control will be enabled.
    CP_ChangeSetOfRolesGroupsForUser
  6. To delete roles or groups, use the Delete button.
    CP_ChangeSetOfRolesGroupsForUser
  7. Click OK and all changes will be saved and displayed in the Users tab table.

Change a member list for a selected role or group

  1. Navigate to the User management tab.
  2. Move to the Roles tab.
  3. Click the Edit button next to Role's name.
    CP_ChangeSetOfRolesGroupsForUser
  4. You'll see a list of users assigned to the role.
    CP_ChangeSetOfRolesGroupsForUser
  5. Look for the desired user via Search field.
    CP_ChangeSetOfRolesGroupsForUser
  6. When the user is selected, the +Add user control will be enabled.
  7. Click the +Add user control to add a new user to the role member list.
    CP_ChangeSetOfRolesGroupsForUser
  8. To delete a user from the role member list, click the Delete button next to a user name.
    CP_ChangeSetOfRolesGroupsForUser
  9. Click OK and all changes will be saved and displayed in the Users tab table.