mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Prevent isCommentOnly user adding attachments, editing list names, moving lists,
and seeing board settings menu. Show non-editable Custom Fields to isCommentOnly user. Thanks to xet7 ! Closes wekan/wekan-snap#97, closes #2416, closes #2255
This commit is contained in:
parent
62bfe1da21
commit
a68c928896
5 changed files with 42 additions and 19 deletions
|
|
@ -34,8 +34,9 @@ template(name="membersWidget")
|
|||
h3
|
||||
i.fa.fa-user
|
||||
| {{_ 'members'}}
|
||||
a.board-header-btn.js-open-board-menu(title="{{_ 'boardMenuPopup-title'}}").right
|
||||
i.board-header-btn-icon.fa.fa-cog
|
||||
unless currentUser.isCommentOnly
|
||||
a.board-header-btn.js-open-board-menu(title="{{_ 'boardMenuPopup-title'}}").right
|
||||
i.board-header-btn-icon.fa.fa-cog
|
||||
|
||||
.board-widget-content
|
||||
each currentBoard.activeMembers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue