summaryrefslogtreecommitdiff
path: root/app/policies
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2016-08-30 15:55:37 -0700
committerhttp://jneen.net/ <jneen@jneen.net>2016-08-30 15:55:37 -0700
commitb105dc791df07bab0d5349c63cb73c7b3ee8212c (patch)
treeba19eae56f2c5708aa5d534df11a55e13590505f /app/policies
parentbc0a513f624f8e06839b4c3baa5fe10f71284ef2 (diff)
downloadgitlab-ce-b105dc791df07bab0d5349c63cb73c7b3ee8212c.tar.gz
newline before default returnrefactor/add-policies
Diffstat (limited to 'app/policies')
-rw-r--r--app/policies/issue_policy.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/policies/issue_policy.rb b/app/policies/issue_policy.rb
index 08538861364..bd1811a3c54 100644
--- a/app/policies/issue_policy.rb
+++ b/app/policies/issue_policy.rb
@@ -22,6 +22,7 @@ class IssuePolicy < IssuablePolicy
return true if @subject.author == @user
return true if @subject.assignee == @user
return true if @subject.project.team.member?(@user, Gitlab::Access::REPORTER)
+
false
end
end