diff options
author | http://jneen.net/ <jneen@jneen.net> | 2016-08-30 15:55:37 -0700 |
---|---|---|
committer | http://jneen.net/ <jneen@jneen.net> | 2016-08-30 15:55:37 -0700 |
commit | b105dc791df07bab0d5349c63cb73c7b3ee8212c (patch) | |
tree | ba19eae56f2c5708aa5d534df11a55e13590505f /app/policies/issue_policy.rb | |
parent | bc0a513f624f8e06839b4c3baa5fe10f71284ef2 (diff) | |
download | gitlab-ce-b105dc791df07bab0d5349c63cb73c7b3ee8212c.tar.gz |
newline before default returnrefactor/add-policies
Diffstat (limited to 'app/policies/issue_policy.rb')
-rw-r--r-- | app/policies/issue_policy.rb | 1 |
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 |