mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01:00
Fix Worker Permissions does not allow for cards to be moved. - v8.15.
Thanks to xet7 ! Fixes #5990
This commit is contained in:
parent
fe104791b5
commit
18003900c2
5 changed files with 38 additions and 21 deletions
|
|
@ -214,6 +214,15 @@ Utils = {
|
|||
);
|
||||
return ret;
|
||||
},
|
||||
canMoveCard() {
|
||||
const currentUser = ReactiveCache.getCurrentUser();
|
||||
const ret = (
|
||||
currentUser &&
|
||||
currentUser.isBoardMember() &&
|
||||
!currentUser.isCommentOnly()
|
||||
);
|
||||
return ret;
|
||||
},
|
||||
canModifyBoard() {
|
||||
const currentUser = ReactiveCache.getCurrentUser();
|
||||
const ret = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue