Acquire.Storage._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, **kwargs)[source]¶ Resolve these rules based on the information supplied in ‘kwargs’. Notably, if any of our rules are ‘inherit’, the this will look for an ACLRule called “upstream” to inherit the rule. If ‘must_resolve’ is true, then this function must always return a fully-resolved ACLRule
-
static