Core API

flask_acl.core.get_object_context(root)[source]

Depth-first discovery of authentication context for an object.

Walks the ACL graph via __acl_bases__ and merges the __acl_context__ attributes.

flask_acl.core.iter_object_acl(root)[source]

Child-first discovery of ACEs for an object.

Walks the ACL graph via __acl_bases__ and yields the ACEs parsed from __acl__ on each object.

flask_acl.core.parse_acl(acl_iter)[source]

Parse a string, or list of ACE definitions, into usable ACEs.

Related Topics

This Page