About tgapp-permissions
tgapp-permissions is a Pluggable application for TurboGears2. tgapp-userprofile allows admins of your application to assign the users of your application to groups, and since groups are bound to permissions to assign permissions to your users
Installing
tgapp-permissions can be installed both from pypi or from github:
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.
other special options that can be used with tgapppermissions are:
exclusive_permissions (default False): only a group can be assigned to a user
query_groups: function that is called by the template, must return a list of tuples where each entry is composed of the _id of the group and it’s display_name. you can customize this function to filter or and sort groups if you don’t want to show every group in your database
Metadata
Release files for tgapp-permissions 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tgapp-permissions-0.4.0.tar.gz | 16.1 kB | Without provenance | Details for tgapp-permissions-0.4.0.tar.gz |
Release files / tgapp-permissions-0.4.0.tar.gz
| Download URL | tgapp-permissions-0.4.0.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11ae26fff6a01439a9c06bd1fc9a1769898371cc4208aeaac77128957f8c774c
|
|
BLAKE2b-256 checksum How to use checksums |
5085a6d1e09f3771718b69667cf660cde633b187056e3c19ad7bca28cf621024
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|
Security for tgapp-permissions 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.