diff options
author | Peter Marko <peter.marko@siemens.com> | 2019-03-23 02:44:35 +0300 |
---|---|---|
committer | Peter Marko <peter.marko@siemens.com> | 2019-03-23 14:06:50 +0300 |
commit | 12adb2a4bcca8b8ea07be2b9d120404e8a14a4be (patch) | |
tree | 615c38d321a86770930958c60c0b67592b8622e6 /app/policies/project_policy.rb | |
parent | 09d25b04c34398f9f825b3cc95265af3097fa035 (diff) |
Show statistics also when repository is disabled
Diffstat (limited to 'app/policies/project_policy.rb')
-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 |