Simple ACL library for Python with middleware