mirror of
https://github.com/zitadel/zitadel.git
synced 2025-05-06 20:46:47 +00:00
fix: add grant id to createusergrant (#525)
This commit is contained in:
parent
a5890ed4a8
commit
2d8f934a07
@ -42,6 +42,7 @@ func userGrantCreateToModel(u *management.UserGrantCreate) *grant_model.UserGran
|
|||||||
UserID: u.UserId,
|
UserID: u.UserId,
|
||||||
ProjectID: u.ProjectId,
|
ProjectID: u.ProjectId,
|
||||||
RoleKeys: u.RoleKeys,
|
RoleKeys: u.RoleKeys,
|
||||||
|
GrantID: u.GrantId,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -2515,6 +2515,7 @@ message UserGrantCreate {
|
|||||||
string user_id = 1;
|
string user_id = 1;
|
||||||
string project_id = 2;
|
string project_id = 2;
|
||||||
repeated string role_keys = 3;
|
repeated string role_keys = 3;
|
||||||
|
string grant_id = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message UserGrantUpdateBulk {
|
message UserGrantUpdateBulk {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user