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

Deprecate and change use of group id in web services

    XMLWordPrintable

    Details

    • Edition:
      Community
    • Production Notes:
      None

      Description

      The following parameters and elements in the response must be deprecated because database IDs should not be exposed in web services.

      Their format changes from integer to string.

      permissions

      • GET api/permissions/groups -> GROUPS#ID are used in the response
      • POST api/permissions/add_group -> Parameter groupId
      • POST api/permissions/add_group_to_template -> Parameter groupId
      • POST api/permissions/remove_group -> Parameter groupId
      • POST api/permissions/remove_group_from_template -> Parameter groupId 

      user_groups

      • POST api/user_groups/add_user -> Parameter id
      • POST api/user_groups/remove_user -> Parameter id
      • POST api/user_groups/create -> GROUPS#ID are used in the response
      • POST api/user_groups/delete -> Parameter id
      • POST api/user_groups/update -> Parameter id 
      • GET api/user_groups/search -> GROUPS#ID are used in the response
      • GET api/user_groups/users -> Parameter id

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pierre.guillot Pierre Guillot
              Reporter:
              julien.lancelot Julien Lancelot
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: