Skip to main content

Django-permission-backend-nonrel

A Django authentication backend that supports Django’s user and group permissions on Django-Nonrel.

Installation

  • Get the code from Github:

    git clone https://github.com/django-nonrel/django-permission-backend-nonrel.git

  • add permission_backend_nonrel.backends.NonrelPermissionBackend to your AUTHENTICATION_BACKENDS and permission_backend_nonrel to your INSTALLED_APPS

    settings.py:

    AUTHENTICATION_BACKENDS = (
        ...
        'permission_backend_nonrel.backends.NonrelPermissionBackend',
    )
    
    INSTALLED_APPS = (
        ...
        'permission_backend_nonrel',
    )
  • It’s important to put ‘permission_backend_nonrel after djangotoolbox, because permission_backend_nonrel.admin replaces djangotoolbox’s User admin site.

    Permission and groups can be assigned and modified via Django’s admin interface:

    Django-nonrel admin with user_permissions and groups

    Django-gaeauth admin interface with user_permissions and groups

  • Now you should be able to use all the standard Django permission methods and decorators, like user.has_perm(‘foo’) and so on.

Metadata

Release files for permission-backend-nonrel 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for permission-backend-nonrel 0.2
File Size Uploaded Provenance Actions
permission-backend-nonrel-0.2.tar.gz 4.9 kB Without provenance Details for permission-backend-nonrel-0.2.tar.gz

Release files / permission-backend-nonrel-0.2.tar.gz

Download URL permission-backend-nonrel-0.2.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f32c5ce7edb6e6446158cbd2c6d0ab206212f379b08b195db9d93543d129b03d
BLAKE2b-256 checksum
How to use checksums
8ef667597879d9d2b3ae50b7a75b7c3e87fbec3bb2befbb45309632360100d8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for permission-backend-nonrel 0.2

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.

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page