forked from TrueCloudLab/frostfs-sdk-go
[#225] container: Refactor and document basic ACL
Replace basic ACL functionality from `acl` package to the `container` one. Create `BasicACL` type and provide convenient interface to work with it. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
af7e20073b
commit
e82a2d86ef
13 changed files with 961 additions and 247 deletions
|
@ -31,7 +31,7 @@ func Container() *container.Container {
|
|||
x.SetVersion(&ver)
|
||||
x.SetAttributes(Attributes())
|
||||
x.SetOwnerID(usertest.ID())
|
||||
x.SetBasicACL(123)
|
||||
x.SetBasicACL(container.BasicACLPublicRW)
|
||||
p := netmaptest.PlacementPolicy()
|
||||
x.SetPlacementPolicy(&p)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue