diff options
author | Phil Hughes <me@iamphill.com> | 2016-10-25 12:57:56 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-10-25 12:57:56 +0100 |
commit | cabc131cfbee72e3a1eaae94619dcf1e3cc59d5a (patch) | |
tree | 98b1b8cca621b87b4818018e4ec7bfadd63c8ca0 /app/helpers/boards_helper.rb | |
parent | f289983db6dd0b3d237ad35f5359ecd6e09cb3ea (diff) | |
download | gitlab-ce-cabc131cfbee72e3a1eaae94619dcf1e3cc59d5a.tar.gz |
Stop unauthized users dragging on issue boardsboard-dragging-disabled
Closes #23763
Diffstat (limited to 'app/helpers/boards_helper.rb')
-rw-r--r-- | app/helpers/boards_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/boards_helper.rb b/app/helpers/boards_helper.rb index b7247ffa8b2..38c586ccd31 100644 --- a/app/helpers/boards_helper.rb +++ b/app/helpers/boards_helper.rb @@ -5,7 +5,7 @@ module BoardsHelper { endpoint: namespace_project_boards_path(@project.namespace, @project), board_id: board.id, - disabled: !can?(current_user, :admin_list, @project), + disabled: "#{!can?(current_user, :admin_list, @project)}", issue_link_base: namespace_project_issues_path(@project.namespace, @project) } end |