Skip to main content

Flask permissions the UNIX way using owner and groups

Project description

https://travis-ci.org/xvzf/flask-chown.svg?branch=master PyPI version Python Versions Documentation Status

Flask view permission management the UNIX way using owner and groups

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.

Files for flask-chown, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size flask_chown-0.2.1-py3-none-any.whl (9.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size flask-chown-0.2.1.tar.gz (8.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page