mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Fix: User with comment only permission can add cards. Thanks to xet7 ! Closes #1301
This commit is contained in:
parent
509b640588
commit
2edced5467
1 changed files with 4 additions and 3 deletions
|
|
@ -17,9 +17,10 @@ template(name="listHeader")
|
|||
if isWatching
|
||||
i.list-header-watch-icon.fa.fa-eye
|
||||
div.list-header-menu
|
||||
unless isWipLimitEnabled
|
||||
a.js-add-card.fa.fa-plus.list-header-plus-icon
|
||||
a.fa.fa-navicon.js-open-list-menu
|
||||
unless currentUser.isCommentOnly
|
||||
unless isWipLimitEnabled
|
||||
a.js-add-card.fa.fa-plus.list-header-plus-icon
|
||||
a.fa.fa-navicon.js-open-list-menu
|
||||
|
||||
template(name="editListTitleForm")
|
||||
.list-composer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue