Permissions in Manager does not appear

Problem

Permissions defined in permissions.config does not appear in the select dropdown in Manager despite being in profile.config. Problem occur after update to version 5.0.

Solution

From version 5.0 it is possible to control functions on Manager based on permissions, and these permissions are defined in permissions.config along with data permission. In order for a permission to appear in Manager’s permission selector, ensure to add a tag <DataPermissionEnabled> to the permission.

 

<!-- Data permission used to give access to data in web viewer --> <ResourcePermission> <IsChanged>false</IsChanged> <!-- Make this permission appear in permissions dialogue on data --> <DataPermissionEnabled>true</DataPermissionEnabled> <Id>26</Id> <Enabled>true</Enabled> <Name>Internal</Name> <Note>Internal documentation, not for external usage</Note> <Groups/> </ResourcePermission>