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

Feature Description
Object-level Support for permissions assigned per object.
Assignment How do you assign permissions for objects?
Declaration Do you declare permissions for models? How?
Inheritance Permissions inheritance from related objects.
Logical checks Support for permission checked dynamically, e.g. can view entry no older than
one month.
Decorator Object-level decorator for views.
Database Is a database required? If not, how are permissions stored?
Templatetag Permissions checks in templates via tags.
Roles Support for roles in permissions.
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.
Field level Supports permissions at the field level of models
Any-to-any Permissions for any object to any other object.
Model-level Support for model-level perms (either on its own or by seamless integration with
django.contrib.auth permissions).
Django 1.2 backend See: http://docs.djangoproject.com/en/dev/releases/1.2/#object-level-permissions
.

Filter results

Package django-oso django-guardian rules drf-extensions djangorestframework-api-key django-role-permissions DRF Access Policy django-authority django-permissions-policy Tabular Permissions Widget Django-Access django-prbac django-global-permissions django-permissions-auditor restframework-serializer-permissions django-permission2 Django Permafrost serious-django-permissions drf-psq Django Debug Permissions django-simple-perms
Package django-oso django-guardian rules drf-extensions djangorestframework-api-key django-role-permissions DRF Access Policy django-authority django-permissions-policy Tabular Permissions Widget Django-Access django-prbac django-global-permissions django-permissions-auditor restframework-serializer-permissions django-permission2 Django Permafrost serious-django-permissions drf-psq Django Debug Permissions django-simple-perms
Description Oso is a batteries-included
framework for building
authorization in your
application.
Per object permissions for
Django
Awesome Django authorization,
without the database
DRF-extensions is a collection
of custom extensions for
Django REST Framework
🔐 API key permissions for
Django REST Framework
A django app for role based
permissions.
Declarative access
policies/permissions modeled
after AWS' IAM policies.
A Django app that provides
generic per-object-permissions
for Django's auth app and
helpers to create custom
permission checks.
Set the draft security HTTP
header Permissions-Policy
(previously Feature-Policy) on
your Django app.
Display Django permissions in
a HTML table that is
translatable and easily
customized.
Django-Access - the
application introducing
dynamic evaluation-based
instance-level (row-level)
access rights control for
Django
Global permissions for Django Tool to audit access control
on your django app.
Drop in replacement for Django
Restframework Serializers to
add permission based field
serialization.
An simple permission system
which support object
permission in Django
Adds User Definable
Permissions to Django
A Django extension to define
and use Groups and Permissions
from a central place, per app.
The simplest and most general
way to manage action-based
permissions, serializers, and
querysets dependent on
permission-based rules for the
Djang...
Get a list of all user
permissions available in the
system
Category App App App App App App Other App App App App App App App Other App App App App App App
# Using This 3 81 20 6 0 6 2 3 0 1 2 0 0 0 0 1 0 0 0 0 1
Python 3?
Development Status Beta Production/Stable Production/Stable Production/Stable Beta Production/Stable Unknown Production/Stable Production/Stable Production/Stable Beta Alpha Beta Production/Stable Unknown Production/Stable Alpha Unknown Unknown Beta Unknown
Last updated Sept. 19, 2022, 7:53 p.m. March 25, 2022, 5:42 p.m. March 23, 2022, 4:52 a.m. May 28, 2022, 5:04 a.m. July 14, 2022, 3:42 p.m. May 9, 2022, 9:19 a.m. Aug. 28, 2022, 4:14 p.m. Oct. 27, 2021, 6:59 a.m. Sept. 27, 2022, 5:08 a.m. June 7, 2022, 2:43 a.m. May 9, 2022, 4:54 a.m. Jan. 18, 2021, 2:15 p.m. March 22, 2022, 8:30 p.m. Jan. 10, 2022, 1:08 p.m. April 6, 2021, 9:24 a.m. Sept. 19, 2022, 5:38 a.m. May 19, 2022, 2:22 p.m. June 19, 2021, 11:36 a.m. Feb. 26, 2021, 12:51 p.m. May 14, 2020, 3:56 a.m. Jan. 28, 2022, 7:25 p.m.
Version 0.26.2 2.4.0 3.3 0.7.1 2.2.0 3.1.1 1.1.2 0.14 4.13.0 2.9.1 n/a 1.0.1 0.2.6 1.0.5 0.0.2 2.0.0 0.2.19 0.17 1.1.0 1.0.0 1.0.3
Repo GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub Bitbucket
Commits
Stars 2,706 3,269 1,529 1,324 505 583 344 267 69 60 59 112 31 11 9 4 5 7 30 27 2
Repo Forks 132 546 123 205 81 111 40 55 5 11 3 37 8 2 1 1 2 0 4 1 1
Participants gj
saolsen
dhatch
samscott89
leina05
gw000
gkaemmer
plotnick
samraper
patrickod
more...
lukaszb
brianmay
ad-m
michael-k
johnthagen
bsvetchine
mitar
ggreer
troygrosfield
xordoquy
more...
dfunckt
zerolab
ticosax
dyve
mlsen
thedrow
orf
pjsier
danlamanna
eviltwin
more...
auvipy
chibisov
pratyushmittal
rpkilby
OskarPersson
maryokhin
alexander-akhmetov
codingjoe
joehybird
tuky
more...
florimondmanca
spaceofmiah
biancaG
brittandeyoung
chrismaddalena
Enprogames
guilleijo
jaswanthm
jeancochrane
jeffgodwyll
more...
filipeximenes
fjsj
powderflask
kavdev
valberg
iurisilvio
reduxionist
amandasavluchinske
andersonresende
victorgutemberg
more...
rsinger86
dependabot[bot]
BarnabasSzabolcs
oguzhancelikarslan
gianpieropa
adamsteele-city
tanonl
HonakerM
JamesonNetworks
JT501
more...
jezdez
jlward
bartTC
winhamwr
bocribbz
gthb
safwanrahman
remik
diegobz
RDIL
more...
adamchainz
pre-commit-ci[bot]
rik
craiga
dependabot[bot]
RamezIssac
ihabhussein
abahnihi
vintage
nnseva millerdev
kennknowles
czue
dannyroberts
biyeun
GertBurger
NoahCarnahan
ArtemBernatskyy
nickpell
snopoke
more...
eduardo-matos
FernandoCelmer
perdy
kluchrj
jeffgabhart
LerikG
manfred-kaiser lambdalisue
JanMalte
giginet
quasiyoke
LuRsT
renovate[bot]
argsno
oskarjakiela
philippeowagner
Simanas
more...
devo-wm
mgcamisa
renderbox
rhimmelbauer
jared-hardy
dependabot[bot]
LilithWittmann
seblat
AminHP
salarnasiri
zshongyi
timonweb hespul
Documentation n/a n/a n/a n/a n/a n/a n/a n/a n/a n/a
Object-level
Assignment manager + patched User and Group + shortcut function
+ Admin Integration (with ModelAdmin extension)
irrelevant  , utils functions permission classes instances + admin (action) + custom views logical only (code executed on object to determine permission) logical only (code executed on object to determine permission)
Declaration  
Using the policy language
  registry of callables   permissions are defined by role.  , permission classes  
declaration in a perms.py file in app
 , declaration in a perms.py file in app
Inheritance  
By writing simple rules
irrelevant  
logical only (code executed on object to determine permission)
Logical checks  
Using the Polar policy language
Decorator
Database  
Logic is written as .polar policy files
  registry of callables  
only logical check
 
only logical check
Templatetag
Roles  
Check documentation for examples
irrelevant  
Logic for object permission can check whatever you want
Cascade update  
Permissions are dynamic
irrelevant
Field level  , define it in a object level checker.
Any-to-any
Model-level  , integration
Django 1.2 backend
Search Weight Package Description Last PyPI release: Repo Forks Stars
{{ 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