Permission management for web application in turbogears2
Project description
About tgapp-permissions
tgapp-permissions is a Pluggable application for TurboGears2.
Installing
tgapp-permissions can be installed both from pypi or from bitbucket:
pip install tgapppermissions
should just work for most of the users
Plugging tgapp-permissions
In your application config/app_cfg.py import plug:
from tgext.pluggable import plug
Then at the end of the file call plug with tgapppermissions:
plug(base_config, 'tgapppermissions')
You will be able to access the plugged application at http://localhost:8080/tgapppermissions.
Available Hooks
tgapp-permissions makes available a some hooks which will be called during some actions to alter the default behavior of the appplications:
Exposed Partials
tgapp-permissions exposes a bunch of partials which can be used to render pieces of the blogging system anywhere in your application:
Exposed Templates
The templates used by registration and that can be replaced with tgext.pluggable.replace_template are:
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
File details
Details for the file tgapp-permissions-0.3.1.tar.gz
.
File metadata
- Download URL: tgapp-permissions-0.3.1.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0b79eff8f2341d35bb6be39e116b5046d7ed69842a39e1fc3cdc8c87c8d2243 |
|
MD5 | 4548b3d3c629ee6852841f6bdacd6c2c |
|
BLAKE2b-256 | b2342ed4dd44cdffd3af54bb5b135c93f19e21fdd35462308066fa8545c245bf |