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(mode string) *provider.ResourcePermissions
GetGrantPermissionSet converts CSEAPIs' 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 TODO we need to evaluate all acls in the list at once to properly forbid (!) and overwrite (+) permissions This is ugly, because those are actually negative permissions ...
func GetGranteeType ¶
func GetGranteeType(aclType string) provider.GranteeType
GetGranteeType returns the grantee type from a char
Types ¶
This section is empty.