Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Error when User with "Add Role" permission tries to add a new Role
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.
Bug report created: https://liferay.atlassian.net/browse/LPD-26313
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™