django-guardian/django-guardian
Per object permissions for Django observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 95
- Release rhythm 99
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 1
- age_days: 5934
- days_rel: 7
- days_push: 34
- n_releases_24m: 24
Adoption not part of the score
3910 stars · 593 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
django-guardian is a Python library that implements per-object (row-level) permissions on top of Django's built-in authorization backend. It lets developers assign and check permissions for individual model instances for users and groups, with admin integration.
Use cases
- assign permissions to a specific object for a user in Django
- implement row-level access control in a Django app
- check if a user can edit a particular record
- manage per-object permissions for groups in Django admin
- restrict users to only the records they own or are shared with them
When to choose
- you need object-level or row-level permissions beyond Django's model-wide permissions
- you want a mature, widely-used Django authorization extension with admin integration
When to avoid
- you only need model-level or global permissions (Django's built-in auth suffices)
- you are not using Django
- you need complex policy-based access control like ABAC/ReBAC, where a dedicated authorization service may fit better
Facets
library · maturity stable
authorization auth web-development security backend python django object-level-permissions row-level-security access-control
2 sources
- readme: https://github.com/django-guardian/django-guardian · fetched 2026-08-28 · 74382244a600
- registry_pypi: https://pypi.org/pypi/django-guardian/json · fetched 2026-08-29 · 7aba60de7b0e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| django-guardian/django-guardian | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="django-guardian/django-guardian")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem