Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-45544

Only Site Owners can assign Site Roles to User Groups that are members of the Site

    Details

      Description

      Steps to reproduce:

      1. Login with OmniAdmin ([email protected])
      2. Create a blank Site Role named e.g. "Site Administrator SG"
      3. Create a User Group named e.g. "TestUserGroup"
        • Assign the "TestUserGroup" to the default "Liferay Site" (Go to the Site -> Site Memberships -> User Groups -> Assign User Groups -> Check the "TestUserGroup" -> Save
      4. Create a regular "Role" named "SiteMembershipManager" with using the attached permissions: Permissions.PNG
      5. Create a new user e.g. "Manager"
        • Assign the user to the default "Liferay" site
        • Assign the "SiteMembershipManager" role to the user
      6. Login with "Manager" user
      7. Go to Control Panel -> Site Membership
      8. Click on the Add Site Roles to "Users" -> Select a Site Role "Site Administrator SG" -> Available tab -> Select a User and click on Update Associations ### Note: It works fine, the role has been added to the User
      9. Click on the Add Site Roles to "User Groups" -> Select a Site Role "Site Administrator SG" -> Available tab -> Select "TestUserGroup" and click on Update Associations

      Result: Error message displayed: "You do not have the required permissions."
      Expected: The selected Site Role should be added to the "TestUserGroup"

        Attachments

        1. fixed.png
          fixed.png
          21 kB
        2. Permissions.PNG
          Permissions.PNG
          8 kB
        3. reproduced.png
          reproduced.png
          11 kB

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao (Inactive)
              Reporter:
              akos.thurzo Akos Thurzo (Inactive)
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 27 weeks, 3 days ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1