django-permissions 1.1

Generic per-object permissions for Django

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.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)

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
BSD

Author

Kai Diefenbach

Pip

django-permissions==1.1

Classifiers

  • Programming Language :: Python
  • Operating System :: OS Independent
  • License :: OSI Approved :: BSD License
  • Framework :: Django
  • Environment :: Web Environment
  • Development Status :: 5 - Production/Stable
File Type Python Version Uploaded On Downloads
django-permissions-1.1.tar.gz Source June 26, 2014 931
Version Release Date
1.1 June 26, 2014
1.0.3 April 30, 2011
1.0.2 April 9, 2011
1.0.1 April 8, 2011
1.0 Aug. 24, 2010
1.0b4 July 23, 2010
1.0b3 July 7, 2010
1.0b2 May 17, 2010
1.0b1 May 17, 2010
1.0a4 April 16, 2010
1.0a3 March 30, 2010
1.0a2 March 22, 2010
1.0a1 March 12, 2010
Date Package Version Action
Nov. 4, 2014, 1:35 p.m. django-permissions 1.1 Release Created
Nov. 4, 2014, 1:35 p.m. django-permissions 1.0b4 Release Created
Nov. 4, 2014, 1:35 p.m. django-permissions 1.0b3 Release Created
Nov. 4, 2014, 1:35 p.m. django-permissions 1.0b2 Release Created
Nov. 4, 2014, 1:35 p.m. django-permissions 1.0b1 Release Created
Nov. 4, 2014, 1:35 p.m. django-permissions 1.0a4 Release Created
Nov. 4, 2014, 1:35 p.m. django-permissions 1.0a2 Release Created
Nov. 4, 2014, 1:35 p.m. django-permissions 1.0a3 Release Created
Nov. 4, 2014, 1:35 p.m. django-permissions 1.0a1 Release Created
Nov. 4, 2014, 1:35 p.m. django-permissions 1.0.3 Release Created
Nov. 4, 2014, 1:35 p.m. django-permissions 1.0.2 Release Created
Nov. 4, 2014, 1:35 p.m. django-permissions 1.0.1 Release Created
Nov. 4, 2014, 1:35 p.m. django-permissions 1.0 Release Created
Nov. 4, 2014, 1:35 p.m. django-permissions Package Created