From 9435f4171b8e0a2769cffd63056e842d8d7fb73b Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Tue, 26 Oct 2021 14:40:49 +0300 Subject: [PATCH] [#40] acl: move ACL types from neofs-api-go Signed-off-by: Evgenii Stratonikov --- acl/types.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 acl/types.go diff --git a/acl/types.go b/acl/types.go new file mode 100644 index 0000000..6a7b428 --- /dev/null +++ b/acl/types.go @@ -0,0 +1,15 @@ +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 = 0x1FBF8CFF + + // PublicAppendRule is a basic ACL value for public-append container. + PublicAppendRule = 0x1FBF9FFF +)