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

As a user it would be helpful to have a REST API endpoint that returns the default permission for a project

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • API - REST
    • None
    • 3
    • 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

      Current there are REST API endpoints to determine if a project has READ or WRITE access by default.

      In order to determine if a project has NO ACCESS via a script, these endpoints have to be queried and if they both return FALSE, it can then be deduced that the project has NO ACCESS.

      However the script would throw a false positive if a new default permission was introduced in future versions of the product.

      Proposed Fix

      • Implement a REST API endpoint that returns the default permission for a given project
      • Implement a NO ACCESS REST API endpoint

      Attachments

        Activity

          People

            Unassigned Unassigned
            nhansberry Nate Hansberry
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: