Error when User with "Add Role" permission tries to add a new Role

thumbnail
Christian Hofstätter, modified 1 Year ago.

Error when User with "Add Role" permission tries to add a new Role

New Member Posts: 6 Join Date: 10/5/15 Recent Posts

When a User with the "Add Role" permission (but without the Global "View" permission) tries to add a new Role, they get an error page and the following is found in the logs:
PrincipalException$MustHavePermission: User {userId} must have VIEW permission for com.liferay.portal.kernel.model.Role {roleId}

​​​​​​​We want Users to be able to add Roles, but without seeing all the Roles of the Instance.

thumbnail
Jamie Sammons, modified 1 Year ago.

RE: Error when User with "Add Role" permission tries to add a new Role

Expert Posts: 367 Join Date: 9/5/14 Recent Posts

Bug report created: https://liferay.atlassian.net/browse/LPD-26313

Community
Company
Feedback