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

Documentation

https://xvzf.tech/flask-chown

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)

Uploaded Source

Built Distribution

flask_chown-0.2.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

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

Hashes for flask-chown-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3c2b5eee1aab2fb6a33f8f1e902c59a344c8a3c6464b98e5f690a921f8770cc1
MD5 17fa19906edcb3b5c45f15634e0fa3e2
BLAKE2b-256 f7b8e056e919a469bfb5bc39cd094a1c743b52086e520ced261c7e47a35e091d

See more details on using hashes here.

File details

Details for the file flask_chown-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for flask_chown-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e0cda9f4810be2870bed12b8981b43566fc4fdde5d74d73a52c90aca9e63ddd
MD5 4a78eb5cf78a7f559ad2a72a0a513a26
BLAKE2b-256 a8e9aae20d553ac01ad82b5ad3695e928400984a6d94e6c389930e28df71046f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page