django-auth-additions
Adds some bits that help make django.contrib.auth a bit more useful.
Group gains a ‘rank’ field, that can be used to rank groups (useful where groups need to be able to be limited to view only groups ‘lower’ than they are).
Group gains a .duplicate() method, that will duplicate a group, including all of it’s permissions.
- User gains methods for custom permissions:
can_view(object)
can_edit(object)
can_delete(object)
can_create(class)
These will use the current permissions, but also allow for methods to be added on the object/class being tested, which can permit or deny access according to custom rules. I use this for instance to only allow staff to view other staff who work at the same location(s).
Future: * Configure using data from DJANGO_SETTINGS_MODULE * Unique email addresses * Non-nullable email * Index on email * Random username on save (or email?) * email in template (?)
Metadata
Release files for django-auth-additions 0.7.3
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 |
|---|---|---|---|---|
| django-auth-additions-0.7.3.tar.gz | 8.1 kB | Without provenance | Details for django-auth-additions-0.7.3.tar.gz |
Release files / django-auth-additions-0.7.3.tar.gz
| Download URL | django-auth-additions-0.7.3.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a4412e9857cf18a5dffa941e772cb86529ce34f165983d127678bf1c63ddd5b
|
|
BLAKE2b-256 checksum How to use checksums |
09728407d027047efcaa96d17a398544fef6c8152e767a22b5113584e58cc03f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-auth-additions 0.7.3
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.