mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix(core-authentication): extra update on user create
This commit is contained in:
@@ -100,9 +100,9 @@ export class UsersResource extends CachedMapResource<string, AdminUserInfo> {
|
||||
this.set(userId, user as AdminUserInfo);
|
||||
|
||||
try {
|
||||
this.updateCredentials(userId, credentials);
|
||||
await this.updateCredentials(userId, credentials);
|
||||
for (const roleId of roles) {
|
||||
await this.grantRole(userId, roleId);
|
||||
await this.grantRole(userId, roleId, true);
|
||||
}
|
||||
|
||||
await this.setConnections(userId, grantedConnections);
|
||||
|
||||
Reference in New Issue
Block a user