Ask - Test
Error when User with "Add Role" permission tries to add a new Role
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 PostsWhen 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.
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 PostsBug report created: https://liferay.atlassian.net/browse/LPD-26313
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™