Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Please make sure that your intended employee's user account is part of the intended user groups. This plugin will only allow users to switch between the assigned groups that the user is a part of.
  2. Simply set permission roles and groups within the application, and customize the permissions as needed in the userview. In the Permissions option of a permission group, select the User Role using User Group. Proceed to map a User Group to the specified Permission Group.
  3. In the Userview Settings > Configure DX 8 Color Admin > Advanced > Sub Header, add in the following hash variable.
    #userRoleSelector.single?noescape#

      Note: The hash variable can be customized to showcase a message within the role-switching button.

    #userRoleSelector.single?noescape#

    (Default)

    #userRoleSelector.single[Current Role:|Switch Role To]?noescape#

    (Custom Message)

Source Code

This plugin source code is available in the JogetOSS repository at https://github.com/jogetoss/user-role-selector.

Plugin Download

You may download it from https://github.com/jogetoss/user-role-selector/releases.