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.1.2.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for flask_chown-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2422c804dbf572ea56fad572ef1dd8ea54a945f2573fa8b45c2f6385b28598a |
|
MD5 | c4b2454b9f7e6913061b8ac2da4dfd79 |
|
BLAKE2b-256 | 699b7e3f10e5fcf81d7c4809f732f7942b1598fc8d70cb48c1e285f29e8f4f8e |