Skip to content
Snippets Groups Projects
Verified Commit 3e164c6a authored by Sebastian Bergandy's avatar Sebastian Bergandy :keyboard:
Browse files

OZG-7838 inline const

parent bf532f50
Branches
Tags
1 merge request!95OZG-7383 add realm-management roles for admin
......@@ -226,13 +226,12 @@ export class UserFormService extends KeycloakFormService<User> implements OnDest
}
_createUser(): User {
const administrationRoles: string[] = this._getRoles(UserFormService.ADMINISTRATION_GROUP);
return {
...this._getFormValue(),
enabled: true,
clientRoles: {
alfa: this._getRoles(UserFormService.ALFA_GROUP),
admin: administrationRoles,
admin: this._getRoles(UserFormService.ADMINISTRATION_GROUP),
},
groups: this._getActiveOrganisationsEinheiten(),
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment