forked from TrueCloudLab/frostfs-s3-gw
[#306] Use zero basic acl to mark APE containers
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
parent
c452d58ce2
commit
bac1b3fb2d
6 changed files with 13 additions and 28 deletions
|
@ -1608,7 +1608,6 @@ func createBucketOldACL(hc *handlerContext, bktName string, box *accessbox.Box)
|
|||
cnr, err := hc.tp.Container(hc.Context(), cnrID)
|
||||
require.NoError(hc.t, err)
|
||||
cnr.SetBasicACL(acl.PublicRWExtended)
|
||||
cnr.SetAttribute(layer.AttributeAPEEnabled, "false")
|
||||
hc.tp.SetContainer(cnrID, cnr)
|
||||
table := eacl.NewTable()
|
||||
table.SetCID(cnrID)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue