What Are Roles?

Roles provide a simple way to group categories together. This makes controlling large numbers of piDashboard users with the same access requirements much easier. 

On this page you can create, edit and delete Roles. When a role has been created, it can be allocated to Users on the ‘User Access’ tab. A user can have more than one role, this doesn’t prevent individual categories also been allocated to them. 

Consider you have thirty piDashboard users who are all Sales Managers and Sales Managers currently have access to six categories. If you create a seventh category for Sales Managers, and haven’t used Roles, then you would need to assign the new category to each of the 30 users individually. 

However, if you had created a role of ‘Sales Manager’ and assigned the six original categories to that, and then assigned each of the 30 users to the role ‘Sales Manager’ then to grant them access to the new category you would just have to add it to the Role.

Roles also allow you to quickly apply access controls (privileges) to a group of users.

Create A Role

To create a Role, click the Roles tab in the configuration screen and then click the ‘Add’ icon at the top of the screen.

After adding a new Role, we will need to give it a title, which must be unique.

In the Privileges section, select the privileges that you want to apply to the role. You may notice that some privileges have a related privilege. For example, if you hover over ‘Can Control Default Layout’ in the Designer section you will notice that ‘Can Modify Layouts’ is also highlighted in the User section. If you then select ‘Can Control Default Layout’, ‘Can Modify Layouts’ will also be selected.

You can however, select a privilege in the User section for example ‘Can Modify Layouts’ without having to also select ‘Can Control Default Layout’. 

After entering a name for the Role and selecting the privileges, click the Save icon.