mirror of
https://github.com/wekan/wekan.git
synced 2026-01-04 00:28:49 +01:00
All logged in users are now allowed to reorder boards by dragging at All Boards page and Public Boards page.
Thanks to xet7 ! Fixes #3147
This commit is contained in:
parent
2cbd7d83f9
commit
ba24c4e40c
2 changed files with 8 additions and 6 deletions
|
|
@ -1219,6 +1219,14 @@ if (Meteor.isServer) {
|
|||
fetch: ['members'],
|
||||
});
|
||||
|
||||
// All logged in users are allowed to reorder boards by dragging at All Boards page and Public Boards page.
|
||||
Boards.allow({
|
||||
update(userId, board, fieldNames) {
|
||||
return _.contains(fieldNames, 'sort');
|
||||
},
|
||||
fetch: [],
|
||||
});
|
||||
|
||||
// The number of users that have starred this board is managed by trusted code
|
||||
// and the user is not allowed to update it
|
||||
Boards.deny({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue