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 details)
Built Distribution
File details
Details for the file flask-chown-0.2.0.tar.gz
.
File metadata
- Download URL: flask-chown-0.2.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c2b5eee1aab2fb6a33f8f1e902c59a344c8a3c6464b98e5f690a921f8770cc1 |
|
MD5 | 17fa19906edcb3b5c45f15634e0fa3e2 |
|
BLAKE2b-256 | f7b8e056e919a469bfb5bc39cd094a1c743b52086e520ced261c7e47a35e091d |
File details
Details for the file flask_chown-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: flask_chown-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e0cda9f4810be2870bed12b8981b43566fc4fdde5d74d73a52c90aca9e63ddd |
|
MD5 | 4a78eb5cf78a7f559ad2a72a0a513a26 |
|
BLAKE2b-256 | a8e9aae20d553ac01ad82b5ad3695e928400984a6d94e6c389930e28df71046f |