Permissions Audit: Create API endpoints that returns Projects and Repos a particular group has access to

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: API - REST, Enterprise
    • None
    • 17
    • 1

      Desired:
      Domain.com/rest/latest/admin/groups/more-repositories?context&filter

      Behavior:
      Given a context of a groupname, return all projects and repositories that the group has access to , as well as access levels.

      Workaround:
      For all projects/repositories in instance, iterate and request
      /rest/api/1.0/projects/

      {projectKey}/permissions/groups
      and for each repository
      /rest/api/1.0/projects/{projectKey}

      /repos/

      {repositorySlug}

      /permissions/groups?filter

              Assignee:
              Unassigned
              Reporter:
              Tim Wong (Inactive)
              Votes:
              9 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: