diff options
author | Nick Thomas <nick@gitlab.com> | 2019-03-26 19:20:32 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-03-26 19:20:32 +0300 |
commit | 8947103ff62f96708ff08eea48cbb6a8a249e398 (patch) | |
tree | ea2a4866c4efd2159cda887c13228b3076836b53 /app | |
parent | 6ac86054edb96e6ad0fee55452df21d133042db8 (diff) | |
parent | ac64e450114c403117869128eb88698900b7bf46 (diff) |
Merge branch 'fix-hidden-statistics' into 'master'
Show statistics also when repository is disabled
Closes #59390
See merge request gitlab-org/gitlab-ce!26509
Diffstat (limited to 'app')
-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 9f9f5230040..dfbad4627eb 100644 --- a/app/policies/project_policy.rb +++ b/app/policies/project_policy.rb @@ -187,6 +187,7 @@ class ProjectPolicy < BasePolicy rule { can?(:reporter_access) }.policy do enable :download_code + enable :read_statistics enable :download_wiki_code enable :fork_project enable :create_project_snippet |