Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-7523

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

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • API - REST, Enterprise
    • None
    • 14
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: