diff options
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/properties_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/properties_controller.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/properties_controller.rb index 45c9558585e..0c69c45098a 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/properties_controller.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/properties_controller.rb @@ -156,7 +156,7 @@ class Api::PropertiesController < Api::ApiController end def allowed?(property_key) - !property_key.end_with?('.secured') || is_admin? + !property_key.end_with?('.secured') || is_admin? || (property_key.include?(".license") && logged_in?) end def get_default_property(key) |