Acquire.Identity._aclrule module¶
-
class
ACLRule(is_owner=None, is_readable=None, is_writeable=None, is_executable=None)[source]¶ Bases:
objectThis class holds the access control list (ACL) rule for a particular user accessing a particular resource
-
static
from_data(data)[source]¶ Return this object constructed from the passed json-deserialised dictionary
-
inherits_executable()[source]¶ Return whether or not this inherits the executable status from upstream
-
inherits_writeable()[source]¶ Return whether or not this inherits the writeable status from upstream
-
resolve(must_resolve=True, identifiers=None, upstream=None, unresolved=False)[source]¶ Resolve these rules based on the information supplied in ‘identifiers’. Notably, if any of our rules are ‘inherit’, the this will look into ‘upstream’ to inherit the rule. If ‘must_resolve’ is true, then this function must always return a fully-resolved ACLRule (in which any unresolved parts are set equal to ‘unresolved’)
-
static