Permissions

A grid of all packages implementing permissions for users and groups in your Django project.

Please fell free to verify and update features for listed apps or add another app if you know one.

Features currently being evaluated

FeatureDescription
Object-level Support for permissions assigned per object.
Inheritance Permissions inheritance from related objects.
Django 1.2 backend See: http://docs.djangoproject.com/en/dev/releases/1.2/#object-level-permissions
.
Decorator Object-level decorator for views.
Logical checks Support for permission checked dynamically, e.g. can view entry no older than
one month.
Declaration Do you declare permissions for models? How?
Roles Support for roles in permissions.
Templatetag Permissions checks in templates via tags.
Assignment How do you assign permissions for objects?
Database Is a database required? If not, how are permissions stored?
Field level Supports permissions at the field level of models
Model-level Support for model-level perms (either on its own or by seamless integration with
django.contrib.auth permissions).
Any-to-any Permissions for any object to any other object.
Cascade update Support for cascade update of related objects, e.g. if added view or change perm
for the product, then add view perm for the product category.
Package django-guardian django-rules django-authority django-objectpermissions django-rbac django-permission django-rulez django-permissionsx django-extauth django-role-permissions django-permission-backend-nonrel rules django-hierarchical-auth django-rubberstamp django-finegrained-permissions django-acl django-generic-permissions django-permissions Django Object Permissions django-custodian django-pobject django-bop
Description Implementation of per object
permissions for Django 1.2+
Flexible and scalable Django
authorization backend for
unified per object permission
management
A Django app that provides
generic per-object-permissions
for Django's auth app and
helpers to create custom
permission checks.
An app to add
object-level/row-level
permissions to users and
groups. Each model can have
different permissions.
Role-based Access Control
(RBAC) implementation for
management of permissions in
Django. Allows a fine-grained
(row level) permission
assignment. Perfect for ...
An enhanced permission system
which support object
permission in Django
A lean and mean object-level
rules system for the Django
framework
PermissionsX - Authorization
for Django
Extended authorization
framework for Django,
including field-level
permissions and role-based
permissions
A django app for role based
permissions.
An authentication backend that
supports Django's user and
group permissions on
Django-nonrel
Awesome Django authorization,
without the database
Extends django auth allowing
hierarchical permissions
Permissions manager and
backend for Django 1.2,
supporting object permissions
and application-specific
permissions.
Permissions per field instead
of per model for django
Access Control Lists for
django aka per-row
permissions. Largely inspired
on phpBB's ACL. Support for
roles.
A simple Authentication
Backend to manage specific
permissions.
This is an implementation of
Object Permissions, a.k.a. row
level permissions. Object
Permissions allow you to
assign a permission to ...
The application
django-custodian wrap and
extend django.contrib.auth
module providing a exaustive
and granular approach to
authorizations and permissions
management. It ...
An expressive and concise mini
permission module for Django
views.
Basic Object-level Permissions
for django 1.2+
CategoryAppAppAppAppAppFrameworkAppAppAppAppAppAppAppAppOtherAppAppFrameworkAppAppOtherApp
# Using This18230025101301000140010
Python 3?
Development Status Production/Stable n/a Alpha Unknown Beta Beta Unknown Production/Stable n/a Unknown n/a Production/Stable Unknown n/a Beta n/a Production/Stable Production/Stable Unknown n/a n/a Beta
Last updated April 10, 2014, 8:33 a.m. July 16, 2011, 11:32 a.m. Feb. 21, 2014, 9:13 a.m. Oct. 8, 2010, 7:23 a.m. March 31, 2010, 11:04 p.m. April 16, 2014, 12:24 p.m. Aug. 9, 2013, 12:09 p.m. March 24, 2014, 3:39 p.m. Dec. 10, 2011, 8:42 p.m. March 18, 2014, 5:48 p.m. April 9, 2011, 4:27 p.m. April 8, 2014, 7:37 p.m. Jan. 5, 2011, 3:03 p.m. Oct. 28, 2010, 6:27 p.m. Oct. 6, 2013, 2:36 p.m. Aug. 23, 2009, 4:17 p.m. Jan. 9, 2013, 10:47 p.m. May 18, 2011, 9:23 a.m. June 6, 2013, 6:33 p.m. Nov. 10, 2011, 7:31 p.m. March 4, 2011, 11:24 a.m. Oct. 20, 2011, 9:16 a.m.
Version1.2.0n/a0.80.3.30.90.5.11.0.11.3.1n/a0.3.1n/a0.11.4.6n/a0.0.1n/a0.1.01.0b41.4.6n/an/a0.3
RepoGithubGithubGithubGithubBitbucketGithubGithubGithubBitbucketGithubBitbucketGithubGithubGithubGithubBitbucketGithubBitbucketGithubBitbucketBitbucketGithub
Commits
Repo Watchers6311418369656353312121161513665544322
Repo Forks149722731315221n/an/a5n/a21131n/an/an/a
Participantslukaszb
ggreer
xordoquy
ghinch
rach
bmihelac
crosbymichael
Aramgutang
mfa
rafadev
more...
maraujop
jjmaestro
chrisglass
jezdez
jlward
bartTC
gthb
winhamwr
remik
diegobz
jpic
supercodepoet
mozillazg
more...
coordt
josesoa
rlewko
toddstowell
twtwebdev
wavrin
justquick
jazzido
bhuztez
nabucosoundlambdalisue
Simanas
oskarjakiela
duilio
chrisglass
maraujop
jjmaestro
stefanfoulis
nigma
juandecarrion
amites
DanLipsitt
DarrenRiedlinger
mbi
thinkingpotatomhall119filipeximenesfhahndfuncktrascapaltmanspecialunderwear
PetrDlouhy
tyriongarrypolleydiefenbachkreneskyp
bramwelt
MostAwesomeDude
JonahBrooks
Kennric
bsu
ecnahc515
edunham
fabiomicheliniphuihockpterk
Documentation N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A
Package django-guardian django-rules django-authority django-objectpermissions django-rbac django-permission django-rulez django-permissionsx django-extauth django-role-permissions django-permission-backend-nonrel rules django-hierarchical-auth django-rubberstamp django-finegrained-permissions django-acl django-generic-permissions django-permissions Django Object Permissions django-custodian django-pobject django-bop
Object-level
Inheritance  for Role , from parent container
Django 1.2 backend
Decorator  Works as class/method/functional decorator.  This package operates on view level.  django.contrib.auth.decorators.permission_required
Logical checks  each model have PermissionHandler for them and has_perm method will be called for paricular model.
Declaration , permission classes , registration  registration. Each model can be registered with Handler for them  as a method in the same model  Permissions are declared for views.  permissions are defined by role. 
permissions are view and function level permissions
 , registration dynamically creates permission models , global permissions in settings and model permission as canonical auth
Roles , assimilated by groups
Templatetag  You can use like {% if user has 'auth.change_user' of object %}
  not needed as it is integrated with django.contrib.auth permissions , limited functionality
Assignmentmanager + patched User and Group + shortcut function
+ Admin Integration (with ModelAdmin extension)
permission classes instances + admin (action) + custom viewspatched User and GroupmanagerAdd builtin PermissionLogic subclass or your own PermissionLogic subclass to the target model class.In the same model as a method which takes the User as argument and returns True or FalsePermissions are not assigned to models. , utils functionsutils functionsuse the provided add_permission backend

from django_generic_permissions.backends import add_permission

add_permission('foo', logged_in_user)
utils functionspatched User and Group or util functions , complete API and GUI
Database  registry of callables
Field levelObjects are assigned to request and they can be compared to other values by attributes or methods. , define it in a object level checker.
Model-level , integration , own  integrated with django.contrib.auth permissions  it works independently from django models, but it can be used for model level permission. , own  this works independent of Django models intentionally , own and integrated
Any-to-any  Can be
Cascade update  Can beDepends on implementation.
Package django-guardian django-rules django-authority django-objectpermissions django-rbac django-permission django-rulez django-permissionsx django-extauth django-role-permissions django-permission-backend-nonrel rules django-hierarchical-auth django-rubberstamp django-finegrained-permissions django-acl django-generic-permissions django-permissions Django Object Permissions django-custodian django-pobject django-bop
Search WeightPackageDescriptionLast PyPI release:Repo ForksWatchers
{{item.weight / max_weight * 100 | number:0}}%{{item.title}}Grid: {{item.description}} {{item.last_released | date: 'mediumDate'}} N/A {{item.repo_forks}} N/A {{item.repo_watchers}} N/A