diff --git a/README.md b/README.md index 7f374e4..7b4281f 100644 --- a/README.md +++ b/README.md @@ -38,4 +38,16 @@ after mongo conaintainer came up the first time run: ``` abra app run wekan.example.org db mongo > rs.initiate() -``` \ No newline at end of file +``` + +## Promote user to admin + +If using SSO, it might happen that there is no admin user. If so, you can fix it manually in the database: + +``` +$ abra app run db bash +# mongo +> use wekan +> db.users.find({'username': ''}) +> db.users.updateOne({'_id': '<_id from result above>'}, {$set: {'isAdmin': true}}) +```