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.1.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file flask-chown-0.2.1.tar.gz.

File metadata

  • Download URL: flask-chown-0.2.1.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for flask-chown-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b7f48d45e1b8c52e1a282c5e9eb35097c70e8c4f37b5864913869780af300e72
MD5 c3e83828cde226cee3f4abecc45eb38f
BLAKE2b-256 38624f7f84cf31cbc060aa9c4676cbdf084d74eeccfe7b50944a76449ff0103d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flask_chown-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f10348b8559b74d495854b5a04aa535dd27bb26c6d386fa20e7060836e90f4f8
MD5 e1405b77cc52178e078f3cc1817ef8fe
BLAKE2b-256 b0d2bfb42a83d9a39e82d6bba5293831533b2492f5c7807286b81c935a4cca54

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