Provide a restful resource to verify default access permission to all projects at once

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: API - REST
    • None
    • 4
    • 3

      Problem Definition  

      Nowadays three separate requests need to be executed for each project in order to verify the default access permissions:

      • GET /rest/api/1.0/projects/ABC/permissions/PROJECT_ADMIN/all
      • GET /rest/api/1.0/projects/ABC/permissions/PROJECT_WRITE/all
      • GET /rest/api/1.0/projects/ABC/permissions/PROJECT_READ/all

      Multiply that by thousands of projects and you see how complex and time consuming it becomes to determine default access permissions for all projects.

      Suggested Solution

      There should be a single endpoint to determine the default access permissions for all projects at once rather than running the above three queries for each project.

      Workaround

      A script could first execute GET /rest/api/1.0/projects in oder to retrieve the list of projects and then, for each project, run the three endpoints mentioned above.

            Assignee:
            Unassigned
            Reporter:
            Felipe Kraemer
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: