Skip to main content

Introduction

django-permissions provides per-object permissions for Django on roles: http://en.wikipedia.org/wiki/Role-based_access_control

Code

The code can be found on bitbucket: http://github.com/diefenbach/django-permissions

Implementations

If you want to see a comprehensive implementation of django-permissions take a look at the CMS LFC

Changes

1.2.2 (2014-05-10)

  • Fixes caching of roles

1.2 (2014-05-10)

  • Adds Django 1.8 support

  • Adds initial migratinons

1.1 (2014-06-26)

  • Fixes deprecation warning

  • Removes raw SQL statements

  • Caches calculated roles on user object

1.0.3 (2011-04-30)

Bugfix release

  • Bugfix: Removed mutuable parameters; issue #11

Changes

1.0.2 (2011-04-09)

Bugfix release

  • Bugfix: prevent to add same Users several times to a Role; issue #6 of django-workflows

  • Updated Development Status to “5 - Production/Stable”

1.0.1 (2011-04-08)

Bugfix release

  • Bugfix: DatabaseErrors with Postgres; issue #5.

  • Bugfix: changed order of passed parameters to has_permission; issue #6

  • Bugfix: removed not needed import of “sets”; issue #8

1.0 (2010-08-24)

  • First final release

1.0 beta 4 (2010-07-23)

  • Added check_permission method to PermissionBase

  • Added Unauthorized exception

1.0 beta 3 (2010-07-07)

  • Bugfix get_users/get_groups method of class Role; issue #2

  • Bugfix: check for an object before trying to add local role; issue #3

  • Bugfix: registration of permissions for specific content types only

1.0 beta 2 (2010-05-17)

  • Added license

1.0 beta 1 (2010-05-17)

  • Bugfix has_permission. Using roles=None instead of roles=[].

1.0 alpha 4 (2010-04-16)

  • Moved PermissionBase to __init__.py

1.0 alpha 3 (2010-03-30)

  • Added roles

1.0 alpha 2 (2010-03-22)

  • Added a lot of improvements on several places

1.0 alpha 1 (2010-03-11)

  • Initial public release

Metadata

Release files for django-permissions 1.2.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 django-permissions 1.2.2
File Size Uploaded Provenance
django-permissions-1.2.2.tar.gz 15.7 kB Without provenance Details

Release files / django-permissions-1.2.2.tar.gz

Download URL django-permissions-1.2.2.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f9ead3e10ccad64fc1d747ebc04c63fe17aeeb0d3a87531b20a90bb8281aefc7
BLAKE2b-256 checksum
How to use checksums
a3a7e0856aa7012b55ee4e786475d1becd80080f8d564a817b3759dff61be2eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-permissions 1.2.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.

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