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

thumbnail
Jamie Sammons, modificado 1 Ano atrás. New Member Postagens: 6 Data de Entrada: 05/10/15 Postagens Recentes

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, modificado 1 Ano atrás. Expert Postagens: 367 Data de Entrada: 05/09/14 Postagens Recentes

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