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

Allow granting access to projects at global level.

XMLWordPrintable

    • 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.

      Scenario:

      1. Hundreds of projects, and hundreds of repositories in each project
      2. A new group of users is created
      3. You want to grant, e.g., read-only access to this group to all repositories

      Problem:
      It is very hard to achieve that, because a lot of manual work is required, even if project permissions are used.

      Suggestion:
      There should be an option to grant read-only access at the global level.

      Workaround:
      A script can be developed to make use of the available REST endpoints:

      1. Call GET /rest/api/1.0/projects in order to retrieve a list of projects;
      2. Iterate over the project names, calling PUT /rest/api/1.0/projects/{projectKey}/permissions/groups and grant PROJECT_READ permission to the group created.

              Unassigned Unassigned
              fkraemer Felipe Kraemer
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: