Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-6485

Create new java WS to search project permissions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: Web API
    • Labels:
      None

      Description

      GET api/permissions/search_project_permissions

      Input

      • q=sonar will be matched against name or key
      • p=1
      • ps=100
      • projectId=ce4c03d6-430f-40a9-b777-ad877c00aa4d OR projectKey=org.apache.hbas:hbase

      Output

      {
        "p": 1,
        "ps": 100,
        "total": 1329,
        "projects": [
          {
            "uuid": "uuid",
            "key": "key",
            "qualifier": "TRK",
            "name": "SonarQube",
            "permissions": [
              {
                "key": "codeviewer",
                "usersCount": 17,
                "groupsCount": 3
              }
            ]
          }
        ],
        "permissions": [
          {
            "key": "codeviewer",
            "name": "See Source Code",
            "description": "Ability to view..."
          }
        ]
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              teryk.bellahsene Teryk Bellahsene
              Reporter:
              stas.vilchik Stas Vilchik (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: