forked from TrueCloudLab/frostfs-api-go
8c9e1504b8
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>
12 lines
327 B
Go
12 lines
327 B
Go
package acl
|
|
|
|
const (
|
|
// PublicBasicRule is a basic ACL value for public-read-write container.
|
|
PublicBasicRule = 0x1FBFBFFF
|
|
|
|
// PrivateBasicRule is a basic ACL value for private container.
|
|
PrivateBasicRule = 0x1C8C8CCC
|
|
|
|
// ReadOnlyBasicRule is a basic ACL value for public-read container.
|
|
ReadOnlyBasicRule = 0x1FBFBFFF
|
|
)
|