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

User with all User Groups permissions will receive an error message when creating a User Group (the User Group is still created)

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.20 EE GA2, 6.2.0 CE RC6
    • Fix Version/s: 6.2.0 CE RC6
    • Labels:
      None
    • Environment:
      Tomcat 7.0.42 + MySQL 5. Portal master GIT ID: 7db4bc7234c9aad4cca063a71d5728d261fead10.

      Description

      Steps to reproduce:

      1. Create a regular role
      2. Define the following permissions for the role
        • Control Panel > General Permissions > Add User Group
        • All permissions in Control Panel > Users > User Groups
      3. Create a user with the created role, and remove the Power User role
      4. Login as the user, and navigate to Control Panel
      5. Add a User Group

      Expected results:
      There are multiple expected behaviors of this which will be listed.

      1. The user should be able to add a User Group without these permissions, and the site that is created with the User Group should be optional
      2. The Add Site permission should automatically be added to the Add User Group permission as the Add Site permission is necessary to add a User Group.
      3. There should be a warning message of some sort that tells the user that the Add Site permission is necessary to add a User Group without error.

      Actual results:
      A user group will be added successfully, but there will be an error message of "You do not have the required permissions." It appears that this is because the user is missing the Add Site permission, as creating a user group also creates a site for the user group.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kenji.heigel Kenji Heigel
              Reporter:
              kenji.heigel Kenji Heigel
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 1 week ago

                  Packages

                  Version Package
                  6.2.0 CE RC6