Mapping custom roles to Persona bar permissions

Overview

When you create a custom role and assign users to this role, you will notice that you lack certain access to items in the persona bar such as Settings. This article will detail how to provide your custom role with access to items in the Persona Bar without having to give the users a default role.

 

Prerequisites

 

Solution

  1. Download the Personabar-Roles-Permissions.sql file attached to this article. This will help you to give specific persona-bar permissions to a role.
  2. You can add your desired Role Name, Portal ID, Parent and Child Menu identifiers. The SQL script should detail where you can find the desired value for the input parameters.

This has to be run using the SQL Console or the SQL Server Management Studio on the SQL Server and after this has been run, you need to clear the server cache.

Please keep in mind that this is a workaround and that there are some menus that have been hardcoded to only be accessible for the default roles. This means that even though your user can access the menu, you will not be able to execute certain actions inside the menu.

 

Testing

To test that the script was successful:

  1. Log in with the user in the custom role you have modified.
  2. Try to access the Persona Bar menu that you have provided access to.

You should be able to access the menu with your custom role.

 

 

Attachments

Comments

0 comments

Please sign in to leave a comment.