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"
Release files for flask-chown 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flask-chown-0.2.1.tar.gz | 8.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_chown-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.9 kB
Release files / flask-chown-0.2.1.tar.gz
| Download URL | flask-chown-0.2.1.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7f48d45e1b8c52e1a282c5e9eb35097c70e8c4f37b5864913869780af300e72
|
|
BLAKE2b-256 checksum How to use checksums |
38624f7f84cf31cbc060aa9c4676cbdf084d74eeccfe7b50944a76449ff0103d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / flask_chown-0.2.1-py3-none-any.whl
| Download URL | flask_chown-0.2.1-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f10348b8559b74d495854b5a04aa535dd27bb26c6d386fa20e7060836e90f4f8
|
|
BLAKE2b-256 checksum How to use checksums |
b0d2bfb42a83d9a39e82d6bba5293831533b2492f5c7807286b81c935a4cca54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |