diff options
author | Stan Hu <stanhu@gmail.com> | 2015-06-17 07:33:51 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-06-18 03:15:05 -0700 |
commit | 07efb17e10fe26a01b60d8441868f9fbda0768f2 (patch) | |
tree | 411620c7f3a9cdba8cb55d42ee75090dca812b3e /app/models | |
parent | 89bcc1baf040e998730fa7c3e029daf9112321eb (diff) | |
download | gitlab-ce-07efb17e10fe26a01b60d8441868f9fbda0768f2.tar.gz |
Fix 403 Access Denied error messages when accessing Labels section in a project that has MRs disabled but issues enabled
Closes #1813
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/ability.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/ability.rb b/app/models/ability.rb index 4e6c60dc8ca..bcd2adee00b 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -138,6 +138,7 @@ class Ability :read_project, :read_wiki, :read_issue, + :read_label, :read_milestone, :read_project_snippet, :read_project_member, |