From 45066b0f5e357c405a68ce49704e08e745d641eb Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 7 Sep 2022 17:33:14 +0300 Subject: [PATCH] Updated Forgot Password (markdown) --- Forgot-Password.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Forgot-Password.md b/Forgot-Password.md index 140f180..484fb3f 100644 --- a/Forgot-Password.md +++ b/Forgot-Password.md @@ -69,6 +69,19 @@ Then login to Wekan and change any users passwords at `Admin Panel / People / Pe - https://github.com/wekan/wekan/wiki/Backup#dbgate-open-source-mongodb-gui - https://github.com/wekan/wekan/wiki/Forgot-Password +## Set user as BoardAdmin on all boards user is member of + +[Source](https://github.com/wekan/wekan/issues/2413#issuecomment-1239249563) + +``` +db.boards.updateMany( +{ members: { $elemMatch: { userId: “USER-ID-HERE”, isAdmin: false } } }, +{ +$set: { “members.$.isAdmin”: true }, +} +); +``` + ## Docker ```