forked from TrueCloudLab/frostfs-api
[#18] acl: Add impersonate field to bearer token
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
parent
cbc038f84e
commit
bd50db1151
3 changed files with 6 additions and 0 deletions
|
@ -213,6 +213,10 @@ message BearerToken {
|
|||
}
|
||||
// Token expiration and valid time period parameters
|
||||
TokenLifetime lifetime = 3 [json_name="lifetime"];
|
||||
|
||||
// AllowImpersonate flag to consider token signer as request owner.
|
||||
// If this field is true extended ACL table in token body isn't processed.
|
||||
bool allow_impersonate = 4 [json_name="allowImpersonate"];
|
||||
}
|
||||
// Bearer Token body
|
||||
Body body = 1 [json_name="body"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue