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.1.tar.gz
(8.6 kB
view hashes)
Built Distribution
Close
Hashes for flask_chown-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f10348b8559b74d495854b5a04aa535dd27bb26c6d386fa20e7060836e90f4f8 |
|
MD5 | e1405b77cc52178e078f3cc1817ef8fe |
|
BLAKE2b-256 | b0d2bfb42a83d9a39e82d6bba5293831533b2492f5c7807286b81c935a4cca54 |