fix: add grant id to createusergrant (#525)

This commit is contained in:
Fabi 2020-07-28 08:43:55 +02:00 committed by GitHub
parent a5890ed4a8
commit 2d8f934a07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2675 additions and 2664 deletions

View File

@ -42,6 +42,7 @@ func userGrantCreateToModel(u *management.UserGrantCreate) *grant_model.UserGran
UserID: u.UserId,
ProjectID: u.ProjectId,
RoleKeys: u.RoleKeys,
GrantID: u.GrantId,
}
}

File diff suppressed because it is too large Load Diff

View File

@ -2515,6 +2515,7 @@ message UserGrantCreate {
string user_id = 1;
string project_id = 2;
repeated string role_keys = 3;
string grant_id = 4;
}
message UserGrantUpdateBulk {