Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-1585

Using RoleLocalServiceUtil.hasUserRoles() with a community role now causes an exception

Details

    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

          Activity

            People

              michael.saechang Michael Saechang
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  5.1 EE SP5 (5.1.8)
                  5.2 EE SP3 (5.2.7)