forked from TrueCloudLab/frostfs-api-go
[#134] v2/acl: Update unified structures
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
09cc2a5037
commit
7a6c5eac1e
6 changed files with 104 additions and 63 deletions
|
@ -282,7 +282,7 @@ func generateObjectCtx(id string) *session.ObjectSessionContext {
|
|||
|
||||
func generateEACL(n int, k, v string) *acl.Table {
|
||||
target := new(acl.TargetInfo)
|
||||
target.SetTarget(acl.TargetUser)
|
||||
target.SetRole(acl.RoleUser)
|
||||
|
||||
keys := make([][]byte, n)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue