Flask permissions the UNIX way using owner and groups
Project description
Flask view permission management the UNIX way using owner and groups
Documentation
Example
from flask_chwon import PermissionManager
...
app = Flask(...)
pm = PermissionManager()
pm.init_app(app)
# or
# pm = PermissionManager(app)
...
@app.route("/")
@pm.chmod(user="helloworld", group="test")
def index():
return "Hello World"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flask-chown-0.2.0.tar.gz
(8.6 kB
view hashes)
Built Distribution
Close
Hashes for flask_chown-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e0cda9f4810be2870bed12b8981b43566fc4fdde5d74d73a52c90aca9e63ddd |
|
MD5 | 4a78eb5cf78a7f559ad2a72a0a513a26 |
|
BLAKE2b-256 | a8e9aae20d553ac01ad82b5ad3695e928400984a6d94e6c389930e28df71046f |