logical-permissions (pypi): Provides support for dictionary-based permissions with logic gates such as AND and OR.
Keywords: permissions|python