Coda Distributed File System
Public Member Functions | List of all members
structs.AclEntry Class Reference

Public Member Functions

None __post_init__ (self, str rights)
 
AclEntry from_user (cls, name, rights)
 
bool is_positive (self)
 
bool is_negative (self)
 

Detailed Description

Coda ACL entry
name   : a user or group name
rights : a subset of '-rlidwka' (or 'all' / 'none' when setting)

Member Function Documentation

◆ __post_init__()

None structs.AclEntry.__post_init__ (   self,
str  rights 
)

◆ from_user()

AclEntry structs.AclEntry.from_user (   cls,
  name,
  rights 
)
Create a new AclEntry instance from user input.
Shortcuts like '*', 'all', and 'none' are
acceptable as well as a different ordering.

◆ is_negative()

bool structs.AclEntry.is_negative (   self)
Returns true if this is a negative ACL entry

◆ is_positive()

bool structs.AclEntry.is_positive (   self)
Returns true if this is a positive ACL entry

The documentation for this class was generated from the following file: