diff options
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/api.rb | 1 | ||||
-rw-r--r-- | lib/api/helpers/projects_helpers.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/api.rb b/lib/api/api.rb index cf6e7f18a5f..eb7f47de9e2 100644 --- a/lib/api/api.rb +++ b/lib/api/api.rb @@ -28,6 +28,7 @@ module API ] allow_access_with_scope :api + allow_access_with_scope :read_api, if: -> (request) { request.get? } prefix :api version 'v3', using: :path do diff --git a/lib/api/helpers/projects_helpers.rb b/lib/api/helpers/projects_helpers.rb index cedf50aaff6..8ad682fc961 100644 --- a/lib/api/helpers/projects_helpers.rb +++ b/lib/api/helpers/projects_helpers.rb @@ -129,6 +129,7 @@ module API :avatar, :suggestion_commit_message, :repository_storage, + :compliance_framework_setting, # TODO: remove in API v5, replaced by *_access_level :issues_enabled, |