diff options
author | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2016-02-17 12:49:38 +0100 |
---|---|---|
committer | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2016-02-22 12:50:25 +0100 |
commit | 15a6633999c81387245cabf129dd2fbb04650c95 (patch) | |
tree | fad334998fa38ebc1c5540b0cef2136816f38e72 /app/views/shared/issuable/_sidebar.html.haml | |
parent | 829830ae9df9e777716e03fa393a328d3ff882b0 (diff) | |
download | gitlab-ce-15a6633999c81387245cabf129dd2fbb04650c95.tar.gz |
Revert authors ability to assign anyone
Diffstat (limited to 'app/views/shared/issuable/_sidebar.html.haml')
-rw-r--r-- | app/views/shared/issuable/_sidebar.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_sidebar.html.haml b/app/views/shared/issuable/_sidebar.html.haml index 1df44eaa64f..ef351fe8093 100644 --- a/app/views/shared/issuable/_sidebar.html.haml +++ b/app/views/shared/issuable/_sidebar.html.haml @@ -30,7 +30,7 @@ .title %label Assignee - - if issuable.can_assign_user?(current_user) + - if can?(current_user, :"admin_#{issuable.to_ability_name}", @project) .pull-right = link_to 'Edit', '#', class: 'edit-link' .value |