PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-16116

Non-administrator users are unable to add user to/remove user from user group

    Details

    • Epic/Theme:
    • Fix Priority:
      3
    • Similar Issues:
      Show 5 results 

      Description

      I created a role that allows access to Add/Remove Users from User Groups (UserGroupPower.JPG)
      I added the role to a newly created user called "Commander 1"
      I created a user who has no roles/organizations/communities called "Peon 1".

      When I try to add "Peon 1" to the User Group by "Commander 1" the user does not appear in the list of choices to add (Commander_View.JPG).
      If I try the same thing but through an Administrator, like Bruno, all users appear (Bruno_View.JPG).

      If I add any organization onto "Peon 1", the user is available to add by "Commander 1".
      Why should I have to add an organization onto "Peon 1" to view him?

      ---------

      Also if I add the role to an Organization and then add "Commander 1" to the Organization, instead of the role, only "Commander 1" appears in the list of people to add to any User Group (UserGroup_with_Organization.JPG).

      It doesn't seem to make much sense to have the only people available to be chosen to the User Group by a sub-administrator to also have access to choose other people in the same organization. This makes the non-admins available to make changes also.

      1. Bruno_View.JPG
        66 kB
      2. Commander_View.JPG
        51 kB
      3. UserGroup_with_Organization.JPG
        49 kB
      4. UserGroupPower.JPG
        63 kB

        Issue Links

          Activity

          Hide
          Michael Haulussy added a comment -

          I am also unable to define a role that can add users to a group in 5.2.8EE

          Show
          Michael Haulussy added a comment - I am also unable to define a role that can add users to a group in 5.2.8EE
          Hide
          Flavel added a comment -

          These issues are in a loop duplicating each other (LPS-15413 and LPS-16116). Which one is being worked on?

          Show
          Flavel added a comment - These issues are in a loop duplicating each other ( LPS-15413 and LPS-16116 ). Which one is being worked on?
          Hide
          Luyang Tan (Inactive) added a comment -

          I can reproduce this issue on:
          Tomcat 7.0 + MySQL 5. 6.1.x EE GIT ID: 3a243c58e6a0c77f4442673e00adcf58414085b9.
          Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 2b6d3a246b1434b2dedc4304a58ca3731239fd24.

          Show
          Luyang Tan (Inactive) added a comment - I can reproduce this issue on: Tomcat 7.0 + MySQL 5. 6.1.x EE GIT ID: 3a243c58e6a0c77f4442673e00adcf58414085b9. Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 2b6d3a246b1434b2dedc4304a58ca3731239fd24.
          Hide
          Gaurav Jain added a comment -

          Being part of community verifier program, I tried reproducing this issue against Liferay 6.2.0 CE M4 tomcat bundle/MySql 5.5.17.

          But Can't reproduce issue.

          I took following steps:

          • Installed fresh LR tomcat bundle 6.2.0 CE M4
          • Created a role "test-role", defined its permission and gave following permissions:
            Resource Set Resource Action Scope
            ControlPanel:Portal>User Groups   Access in Control Panel Portal
            ControlPanel:Portal>User Groups   View Portal
            Portal>Users and Organizations User View Portal
            Portal>Users and Organizations User Group Assign Members Portal
            Portal>Users and Organizations User Group View Portal
          • Created a user "test-role-user" and associted it with "test-role"
          • Created another user "normal-user" with no extra role, organization, site
          • Create a user group "test-user-group"
          • Logged-in with "test-role-user"; Control Panel > Portal > User groups > "test-user-group" > Assign Members
          • "test-role-user" can see "normal-user" in Available section

          It has likely been solved in a recent release and I recommend this can be closed.

          Show
          Gaurav Jain added a comment - Being part of community verifier program, I tried reproducing this issue against Liferay 6.2.0 CE M4 tomcat bundle/MySql 5.5.17. But Can't reproduce issue. I took following steps: Installed fresh LR tomcat bundle 6.2.0 CE M4 Created a role "test-role", defined its permission and gave following permissions: Resource Set Resource Action Scope ControlPanel:Portal>User Groups   Access in Control Panel Portal ControlPanel:Portal>User Groups   View Portal Portal>Users and Organizations User View Portal Portal>Users and Organizations User Group Assign Members Portal Portal>Users and Organizations User Group View Portal Created a user "test-role-user" and associted it with "test-role" Created another user "normal-user" with no extra role, organization, site Create a user group "test-user-group" Logged-in with "test-role-user"; Control Panel > Portal > User groups > "test-user-group" > Assign Members "test-role-user" can see "normal-user" in Available section It has likely been solved in a recent release and I recommend this can be closed.

            People

            • Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 4 days ago

                Development

                  Structure Helper Panel