Unable to modify project access role in a team managed project if the logged in user does not have the "Browse users and groups" global permission

XMLWordPrintable

    • 3
    • Severity 3 - Minor
    • 2

      Issue Summary

      Unable to modify project access role in a team-managed or company-managed project if the logged-in user does not have the "Browse users and groups" global permission

      Steps to Reproduce

      • Login as a user who does not have the "Browse Users and Groups" permission
      • Go to the Project Settings >
        • In Team-managed project > Access
        • In company-managed project > People (Access > People and Access)
      • Try to add the role for any existing project user (For example: From Member to Administrator)

      Expected Results

      The project access role is changed successfully (or) the UI shows a helpful message indicating the required global permission to perform the change.

      Actual Results

      The change is not successful and the below error is seen in the UI:

      Error
      Something went wrong. Try again.

      Backend logs:

      {
          "errorMessages": [
              "You do not have permissions to browse users and groups"
          ],
          "errors": {}
      }

      Workaround

      Ensure the "Browse users and groups" permission is granted to the user performing the project access role change.

            Assignee:
            Unassigned
            Reporter:
            Bopanna
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: