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.
Django 1.2 backend See: http://docs.djangoproject.com/en/dev/releases/1.2/#object-level-permissions
.
Roles Support for roles in permissions.
Model-level Support for model-level perms (either on its own or by seamless integration with
django.contrib.auth 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.
Any-to-any Permissions for any object to any other object.
Field level Supports permissions at the field level of models

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-prbac Django-Access django-global-permissions django-permissions-auditor Django Permafrost drf-psq Django Debug Permissions serious-django-permissions restframework-serializer-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-prbac Django-Access django-global-permissions django-permissions-auditor Django Permafrost drf-psq Django Debug Permissions serious-django-permissions restframework-serializer-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.
Adds User Definable
Permissions to Django
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
A Django extension to define
and use Groups and Permissions
from a central place, per app.
Drop in replacement for Django
Restframework Serializers to
add permission based field
serialization.
Category App App App App App App Other App App App App App App App App App App App Other App
# Using This 3 81 20 6 0 6 0 3 0 1 0 2 0 0 0 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 Alpha Beta Beta Production/Stable Alpha Unknown Beta Unknown Unknown Unknown
Last updated June 17, 2022, 9:37 a.m. March 25, 2022, 5:42 p.m. March 23, 2022, 4:52 a.m. May 28, 2022, 5:04 a.m. June 4, 2022, 5:15 p.m. May 9, 2022, 9:19 a.m. May 1, 2022, 3:12 p.m. Oct. 27, 2021, 6:59 a.m. June 22, 2022, 4:58 a.m. June 7, 2022, 2:43 a.m. Jan. 18, 2021, 2:15 p.m. May 9, 2022, 4:54 a.m. March 22, 2022, 8:30 p.m. Jan. 10, 2022, 1:08 p.m. May 19, 2022, 2:22 p.m. Feb. 26, 2021, 12:51 p.m. May 14, 2020, 3:56 a.m. June 19, 2021, 11:36 a.m. April 6, 2021, 9:24 a.m. Jan. 28, 2022, 7:25 p.m.
Version 0.26.1 2.4.0 3.3 0.7.1 2.2.0 3.1.1 1.1.1 0.14 4.12.0 2.9.1 1.0.1 n/a 0.2.6 1.0.5 0.2.19 1.1.0 1.0.0 0.17 0.0.2 1.0.2
Repo GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub Bitbucket
Commits
Stars 2,580 3,208 1,491 1,304 464 570 320 264 65 57 112 54 30 11 5 28 27 7 8 2
Repo Forks 125 542 120 203 75 109 35 56 4 10 37 2 8 2 2 4 1 0 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
guilleijo
jaswanthm
jeancochrane
jeffgodwyll
jimkring
more...
filipeximenes
fjsj
powderflask
kavdev
valberg
iurisilvio
reduxionist
amandasavluchinske
andersonresende
victorgutemberg
more...
rsinger86
dependabot[bot]
gianpieropa
BarnabasSzabolcs
oguzhancelikarslan
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
RamezIssac
ihabhussein
abahnihi
vintage
millerdev
kennknowles
czue
dannyroberts
biyeun
GertBurger
NoahCarnahan
ArtemBernatskyy
nickpell
snopoke
more...
nnseva eduardo-matos
FernandoCelmer
perdy
kluchrj
jeffgabhart
LerikG
devo-wm
mgcamisa
renderbox
rhimmelbauer
jared-hardy
dependabot[bot]
AminHP
salarnasiri
zshongyi
timonweb LilithWittmann
seblat
manfred-kaiser 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)
Declaration  
Using the policy language
  registry of callables   permissions are defined by role.  , permission classes  , declaration in a perms.py file in app
Inheritance  
By writing simple rules
irrelevant
Logical checks  
Using the Polar policy language
Decorator
Database  
Logic is written as .polar policy files
  registry of callables  
only logical check
Templatetag
Django 1.2 backend
Roles  
Check documentation for examples
irrelevant
Model-level  , integration
Cascade update  
Permissions are dynamic
irrelevant
Any-to-any
Field level  , define it in a object level checker.
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