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

Do not allow to use settings defined in sonar.properties in api/settings/set web service

    XMLWordPrintable

    Details

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

      Description

      As of today, it's allowed to set the value of a setting defined in conf/sonar.properties using the api/settings/set web service.
      This may lead to some inconsistent results.

      The web service api/settings/set, api/settings/reset, and api/settings/values should explicitly fail when the requested key is a system settings.

        Attachments

          Activity

            People

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

              Dates

              Due:
              Created:
              Updated:
              Resolved: