Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetACLPerm ¶
func GetACLPerm(set *provider.ResourcePermissions) (string, error)
GetACLPerm generates a string representation of CS3APIs' ResourcePermissions TODO(labkode): fine grained permission controls.
func GetACLType ¶
func GetACLType(gt provider.GranteeType) (string, error)
GetACLType returns a char representation of the type of grantee
func GetGrantPermissionSet ¶
func GetGrantPermissionSet(perm string, isDir bool) *provider.ResourcePermissions
GetGrantPermissionSet converts CS3APIs' ResourcePermissions from a string TODO(labkode): add more fine grained controls. EOS acls are a mix of ACLs and POSIX permissions. More details can be found in https://github.com/cern-eos/eos/blob/master/doc/configuration/permission.rst
func GetGranteeType ¶
func GetGranteeType(aclType string) provider.GranteeType
GetGranteeType returns the grantee type from a char
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.