Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/pages.rb')
-rw-r--r--lib/api/pages.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/pages.rb b/lib/api/pages.rb
index e049493b10d..39c8f1e6bdf 100644
--- a/lib/api/pages.rb
+++ b/lib/api/pages.rb
@@ -4,7 +4,7 @@ module API
class Pages < Grape::API
before do
require_pages_config_enabled!
- authenticated_with_full_private_access!
+ authenticated_with_can_read_all_resources!
end
params do