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

thumbnail
Jamie Sammons, modifié il y a 2 années. New Member Publications: 6 Date d'inscription: 05/10/15 Publications récentes

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, modifié il y a 2 années. Expert Publications: 367 Date d'inscription: 05/09/14 Publications récentes

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