From 66d71cde3082fb16786364e0ba854aaf72d04ecb Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Tue, 11 Jan 2022 10:26:15 +0300 Subject: [PATCH] [#106] Add extra descriptions for constants Signed-off-by: Denis Kirillov --- acl/types.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/acl/types.go b/acl/types.go index f1b373a..12d0d67 100644 --- a/acl/types.go +++ b/acl/types.go @@ -41,27 +41,35 @@ const ( const ( // PublicBasicName is a well-known name for 0x1FBFBFFF basic ACL. + // It represents fully-public container without eACL. PublicBasicName = "public-read-write" // PrivateBasicName is a well-known name for 0x1C8C8CCC basic ACL. + // It represents fully-private container without eACL. PrivateBasicName = "private" // ReadOnlyBasicName is a well-known name for 0x1FBF8CFF basic ACL. + // It represents public read-only container without eACL. ReadOnlyBasicName = "public-read" // PublicAppendName is a well-known name for 0x1FBF9FFF basic ACL. + // It represents fully-public container without eACL except DELETE operation is only allowed on the owner. PublicAppendName = "public-append" // EACLPublicBasicName is a well-known name for 0x0FBFBFFF basic ACL. + // It represents fully-public container that allows eACL. EACLPublicBasicName = "eacl-public-read-write" // EACLPrivateBasicName is a well-known name for 0x0C8C8CCC basic ACL. + // It represents fully-private container that allows eACL. EACLPrivateBasicName = "eacl-private" // EACLReadOnlyBasicName is a well-known name for 0x0FBF8CFF basic ACL. + // It represents public read-only container that allows eACL. EACLReadOnlyBasicName = "eacl-public-read" // EACLPublicAppendName is a well-known name for 0x0FBF9FFF basic ACL. + // It represents fully-public container that allows eACL except DELETE operation is only allowed on the owner. EACLPublicAppendName = "eacl-public-append" )