forked from TrueCloudLab/frostfs-sdk-go
[#104] Add ACL constants to acl/types.go
- New non-final ACL constants for which eACL can be set - Changed comments Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
This commit is contained in:
parent
3edaf9ecb6
commit
1fe37df88f
1 changed files with 16 additions and 4 deletions
20
acl/types.go
20
acl/types.go
|
@ -1,15 +1,27 @@
|
||||||
package acl
|
package acl
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// PublicBasicRule is a basic ACL value for public-read-write container.
|
// PublicBasicRule is a basic ACL value for final public-read-write container for which extended ACL CANNOT be set.
|
||||||
PublicBasicRule = 0x1FBFBFFF
|
PublicBasicRule = 0x1FBFBFFF
|
||||||
|
|
||||||
// PrivateBasicRule is a basic ACL value for private container.
|
// PrivateBasicRule is a basic ACL value for final private container for which extended ACL CANNOT be set.
|
||||||
PrivateBasicRule = 0x1C8C8CCC
|
PrivateBasicRule = 0x1C8C8CCC
|
||||||
|
|
||||||
// ReadOnlyBasicRule is a basic ACL value for public-read container.
|
// ReadOnlyBasicRule is a basic ACL value for final public-read container for which extended ACL CANNOT be set.
|
||||||
ReadOnlyBasicRule = 0x1FBF8CFF
|
ReadOnlyBasicRule = 0x1FBF8CFF
|
||||||
|
|
||||||
// PublicAppendRule is a basic ACL value for public-append container.
|
// PublicAppendRule is a basic ACL value for final public-append container for which extended ACL CANNOT be set.
|
||||||
PublicAppendRule = 0x1FBF9FFF
|
PublicAppendRule = 0x1FBF9FFF
|
||||||
|
|
||||||
|
// EACLPublicBasicRule is a basic ACL value for non-final public-read-write container for which extended ACL CAN be set.
|
||||||
|
EACLPublicBasicRule = 0x0FBFBFFF
|
||||||
|
|
||||||
|
// EACLPrivateBasicRule is a basic ACL value for non-final private container for which extended ACL CAN be set.
|
||||||
|
EACLPrivateBasicRule = 0x0C8C8CCC
|
||||||
|
|
||||||
|
// EACLReadOnlyBasicRule is a basic ACL value for non-final public-read container for which extended ACL CAN be set.
|
||||||
|
EACLReadOnlyBasicRule = 0x0FBF8CFF
|
||||||
|
|
||||||
|
// EACLPublicAppendRule is a basic ACL value for non-final public-append container for which extended ACL CAN be set.
|
||||||
|
EACLPublicAppendRule = 0x0FBF9FFF
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue