diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2016-09-08 15:03:38 +0530 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2016-09-08 15:03:38 +0530 |
commit | 9901c3df41d37e5d5650e28a5287a8ddf0aa754e (patch) | |
tree | 0f10ce6cfa414a45aeb3d260eb4f70b44cbe2774 /app/policies | |
parent | f5b9837c19f48255237eca1e618fc632a45b58b5 (diff) | |
download | gitlab-ce-9901c3df41d37e5d5650e28a5287a8ddf0aa754e.tar.gz |
Add a JSON version of the `CycleAnalytics` page.
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/project_policy.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb index acf36d422d1..08feb2cbb0e 100644 --- a/app/policies/project_policy.rb +++ b/app/policies/project_policy.rb @@ -101,6 +101,7 @@ class ProjectPolicy < BasePolicy can! :admin_pipeline can! :admin_environment can! :admin_deployment + can! :read_cycle_analytics end def public_access! |