Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.1 EE SP4 (5.1.7), 5.2 EE SP2 (5.2.6)
-
All
Description
Using RoleLocalServiceUtil.hasUserRoles() or hasUserRole() with a community/organization role now causes an exception. These two methods should only be used with regular roles. To check if a user has a community/organization role, use UserGroupRoleLocalServiceUtil.hasUserGroupRoles() or hasUserGroupRole().
Attachments
Issue Links
- is related to
-
LPS-5695 RoleLocalServiceImpl.hasUserRoles only checks for Regular types of roles
- Closed