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

thumbnail
Jamie Sammons, modificat fa 2 anys. New Member Apunts: 6 Data d'incorporació: 05/10/15 Publicacions recents

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, modificat fa 2 anys. Expert Apunts: 367 Data d'incorporació: 05/09/14 Publicacions recents

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