Skip to main content

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

tgapp-permissions-0.2.0.tar.gz (15.4 kB view details)

Uploaded Source

File details

Details for the file tgapp-permissions-0.2.0.tar.gz.

File metadata

File hashes

Hashes for tgapp-permissions-0.2.0.tar.gz
Algorithm Hash digest
SHA256 426240a755b3216ba057e4d88d8cb6f14e55b92703ac0a5d3e524f79eb183e74
MD5 bd5645f77ddacf130c41de40eb3b0197
BLAKE2b-256 8612ef13a7ef177abff65c1e1b4bf854c566f9f3a87206847f9f790a02363d24

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