Skip to main content

Generic per-object permissions for Django

Project description

What is it?

django-permissions provides per-object permissions for Django

Documentation

For more documentation please visit: http://packages.python.org/django-permissions/

Code

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

Implementations

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

Changes

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

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

django-permissions-1.0b4.tar.gz (13.5 kB view details)

Uploaded Source

File details

Details for the file django-permissions-1.0b4.tar.gz.

File metadata

File hashes

Hashes for django-permissions-1.0b4.tar.gz
Algorithm Hash digest
SHA256 e6c2f6b302f6d885eb21e0032a1042037f82ce5c31be7981c5f583baba8d1a5f
MD5 a97b86eea995e9890a9798ab6a1b12c7
BLAKE2b-256 da1b58ddc35aa85c92048d195acb5d4570b50ef5c4aa44701c46df65fd03c27f

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page