mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-06 12:47:37 +00:00
fix: usergrant update (#533)
* fix: add grantid on update usergrant * fix: add grantid on update usergrant
This commit is contained in:
parent
0d670ab3a2
commit
461b7b23b1
@ -31,4 +31,3 @@ cockroachdb/cockroach:v19.2.2 start --insecure
|
||||
|
||||
#### Should show eventstore, management, admin, auth
|
||||
`show databases;`
|
||||
|
||||
|
@ -58,6 +58,7 @@ func userGrantUpdateToModel(u *management.UserGrantUpdate) *grant_model.UserGran
|
||||
return &grant_model.UserGrant{
|
||||
ObjectRoot: models.ObjectRoot{AggregateID: u.Id},
|
||||
RoleKeys: u.RoleKeys,
|
||||
GrantID: u.GrantId,
|
||||
}
|
||||
}
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -2526,6 +2526,7 @@ message UserGrantUpdate {
|
||||
string user_id = 1;
|
||||
string id = 2;
|
||||
repeated string role_keys = 3;
|
||||
string grant_id = 4;
|
||||
}
|
||||
|
||||
message UserGrantRemoveBulk {
|
||||
|
Loading…
x
Reference in New Issue
Block a user