Merge pull request #9340 from Budibase/bug/changing_user_access_multiple_times
Bug - Allow same user to be updated multiple times
This commit is contained in:
commit
3545618424
|
@ -68,7 +68,8 @@
|
|||
|
||||
async function updateUserRole(role, user) {
|
||||
user.roles[fixedAppId] = role
|
||||
await users.save(user)
|
||||
const response = await users.save(user)
|
||||
user._rev = response._rev
|
||||
}
|
||||
|
||||
async function updateGroupRole(role, group) {
|
||||
|
|
Loading…
Reference in New Issue