Uploaded image for project: 'ui-users'
  1. ui-users
  2. UIU-1518

Users: Can not assign and unassign permissions to users unless you have "Settings (Users): Can create, edit and remove permission sets"

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      EPAM-Veg Sprint 35, EPAM-Veg Sprint 36
    • Story Points:
      1
    • Development Team:
      Vega

      Description

      Summary: When I follow the steps in T10787, I can edit all user information, but am not able to edit permissions.

      https://foliotest.testrail.io/index.php?/tests/view/10787

      Simple repro steps:

      1. Give a user the following permissions only:
        1) "Users: Can assign and unassign permissions to users"
        2) Users: Can edit user profile
      2. Log in as user to verify that it is possible to assign and unassign permissions to a user

      Expected: Should be able to assign and unassign permissions to a user with these permissions

      Actual: Can't assign/unassign permissions unless I also have "Settings (Users): Can create, edit and remove permission sets". "Settings (Users): Can create, edit and remove permission sets" should provide access to the Settings > Users > Permission sets feature only.

      ---------------------------
      Steps to reproduce:

      1. Open BugFest site in a browser other than Chrome (FireFox, Safari, etc.) Don't use Chrome because it will be used to test user permissions.
      2. Login as "folio" user
      3. Go to Users app and find a user that you are using to test permissions
      4. Make sure that this user doesn't have any permissions applicable to Users app.
      5. Open Chrome browser and login to BugFest system with your testing user ID (do not use "folio" user). If you have BugFest browser window open in Chrome then logout and login as your testing user to refresh permissions settings.
      6. Verify that this user doesn't have access to Users app
      7. Switch back to the browser where you editing user permissions and add the following permissions:
        1) "Users: Can assign and unassign permissions to users"
        2) Users: Can view user profile
      8. Switch back to Chrome and perform logout/login as your testing user to refresh permissions settings.
      9. 1) Verify that you have access to Users app
        2) Verify that you can open user details screen
        3) Verify that you can add user permissions
      10. Switch back to the browser where you editing user permissions and remove "Users: Can assign and unassign permissions to users" permission
      11. Switch back to Chrome and perform logout/login as your testing user to refresh permissions settings.
      12. 1) Verify that you have access to Users app
        2) Verify that you can browse user detail but can't see user permissions.

      Expected result: See step 9

      Actual result: I can edit all user information, but am not able to edit permissions.

      *Additional info: *

      • I am able to edit permissions on a user only when I have "Settings (Users): Can create, edit and remove permission sets"
      • This bug exists in Q3.2 release/Chalmers production and doesn't seem to be an issue for them as it seems the ppl who can edit permissions on a user record are the same ppl who can create permission sets

        TestRail: Results

          Attachments

            Activity

              People

              Assignee:
              annamelnyk Anna Melnyk
              Reporter:
              mspenger Martin Spenger
              Tester Assignee:
              Darcy Branchini Darcy Branchini
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  TestRail: Runs

                    TestRail: Cases