Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.37 KB

File metadata and controls

37 lines (25 loc) · 1.37 KB

Flask-Allows2

Are your permissions making too much noise all the time? Are your permissions stomping all over your actual code? Are your permission decorators clawing at your line count all the time? Think there's no answer? There is! Flask-Allows.

Flask-Allows2 is an authorization tool for Flask inspired by django-rest-framework's permissioning system and rest_condition's ability to compose simple requirements into more complex ones.

Installation

Flask-Allows2 is available on pypi and installable with:

pip install Flask-Allows2

Flask-Allows2 supports 3.12+.

Note

If you are installing Flask-Allows2 outside of a virtual environment, consider installing it with pip install --user Flask-Allows2 rather than using sudo or adminstrator privileges to avoid installing it into your system Python.

More Information