forked from TrueCloudLab/frostfs-api-go
Fix well-known BasicACL constants to fit the spec
In the well-known BasicACL constants we need to set the always toggled bits for the system group. Otherwise it may be confusing for those who read the specification and try to match it with the reference implementation or the resulting BasicACL set in the container. Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
parent
9b2e63659c
commit
8c9e1504b8
1 changed files with 5 additions and 5 deletions
|
@ -1,12 +1,12 @@
|
||||||
package acl
|
package acl
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// PublicBasicRule is a basic ACL value for public container.
|
// PublicBasicRule is a basic ACL value for public-read-write container.
|
||||||
PublicBasicRule = 0x1FFFFFFF
|
PublicBasicRule = 0x1FBFBFFF
|
||||||
|
|
||||||
// PrivateBasicRule is a basic ACL value for private container.
|
// PrivateBasicRule is a basic ACL value for private container.
|
||||||
PrivateBasicRule = 0x18888888
|
PrivateBasicRule = 0x1C8C8CCC
|
||||||
|
|
||||||
// ReadOnlyBasicRule is a basic ACL value for read-only container.
|
// ReadOnlyBasicRule is a basic ACL value for public-read container.
|
||||||
ReadOnlyBasicRule = 0x1FFF88FF
|
ReadOnlyBasicRule = 0x1FBFBFFF
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue