Fix Worker Permissions does not allow for cards to be moved. - v8.15.

Thanks to xet7 !

Fixes #5990
This commit is contained in:
Lauri Ojansivu 2025-11-06 03:31:14 +02:00
parent fe104791b5
commit 18003900c2
5 changed files with 38 additions and 21 deletions

View file

@ -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 = (