mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
- Sandstorm Wekan: Set everyone as Admin. Please test does this help with
[Problem with the user management: can't add users or give wekan admin rights](https://github.com/wekan/wekan/issues/2405). Thanks to xet7 ! Related #2405
This commit is contained in:
parent
4f46adc389
commit
60d62a6ae3
1 changed files with 2 additions and 1 deletions
|
@ -206,7 +206,8 @@ if (isSandstorm && Meteor.isServer) {
|
|||
|
||||
function updateUserPermissions(userId, permissions) {
|
||||
const isActive = permissions.indexOf('participate') > -1;
|
||||
const isAdmin = permissions.indexOf('configure') > -1;
|
||||
//const isAdmin = permissions.indexOf('configure') > -1;
|
||||
const isAdmin = true;
|
||||
const isCommentOnly = false;
|
||||
const isNoComments = false;
|
||||
const permissionDoc = { userId, isActive, isAdmin, isNoComments, isCommentOnly };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue