mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Revert v2.89 setting every Sandstorm Wekan user as admin.
Thanks to xet7. Related #2405
This commit is contained in:
parent
47e64c269c
commit
e5c0d0ea18
1 changed files with 1 additions and 2 deletions
|
@ -206,8 +206,7 @@ if (isSandstorm && Meteor.isServer) {
|
|||
|
||||
function updateUserPermissions(userId, permissions) {
|
||||
const isActive = permissions.indexOf('participate') > -1;
|
||||
//const isAdmin = permissions.indexOf('configure') > -1;
|
||||
const isAdmin = true;
|
||||
const isAdmin = permissions.indexOf('configure') > -1;
|
||||
const isCommentOnly = false;
|
||||
const isNoComments = false;
|
||||
const permissionDoc = { userId, isActive, isAdmin, isNoComments, isCommentOnly };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue