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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7f48d45e1b8c52e1a282c5e9eb35097c70e8c4f37b5864913869780af300e72
|
|
| MD5 |
c3e83828cde226cee3f4abecc45eb38f
|
|
| BLAKE2b-256 |
38624f7f84cf31cbc060aa9c4676cbdf084d74eeccfe7b50944a76449ff0103d
|
File details
Details for the file flask_chown-0.2.1-py3-none-any.whl.
File metadata
- Download URL: flask_chown-0.2.1-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f10348b8559b74d495854b5a04aa535dd27bb26c6d386fa20e7060836e90f4f8
|
|
| MD5 |
e1405b77cc52178e078f3cc1817ef8fe
|
|
| BLAKE2b-256 |
b0d2bfb42a83d9a39e82d6bba5293831533b2492f5c7807286b81c935a4cca54
|