summaryrefslogtreecommitdiff
path: root/app/policies
diff options
context:
space:
mode:
authorJarka Kadlecova <jarka@gitlab.com>2017-06-13 10:25:25 +0200
committerJarka Kadlecova <jarka@gitlab.com>2017-07-24 08:10:14 +0200
commit2fa22a07296223c1239bfab94654487cca222097 (patch)
treecf930855ad24ad2770a832d530e5a5ae36719825 /app/policies
parentb92d5135d8522e1370636799d74b51f9a37d0b2f (diff)
downloadgitlab-ce-2fa22a07296223c1239bfab94654487cca222097.tar.gz
Associate Issues tab only with internal issues tracker
Diffstat (limited to 'app/policies')
-rw-r--r--app/policies/project_policy.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb
index 323131c0f7e..d27bbf2948c 100644
--- a/app/policies/project_policy.rb
+++ b/app/policies/project_policy.rb
@@ -287,9 +287,6 @@ class ProjectPolicy < BasePolicy
prevent :create_issue
prevent :update_issue
prevent :admin_issue
- end
-
- rule { issues_disabled & default_issues_tracker }.policy do
prevent :read_issue
end