Overview

django-guardian is an implementation of object permissions for Django providing an extra authentication backend.

Features

  • Object permissions for Django

  • AnonymousUser support

  • High level API

  • Heavily tested

  • Django’s admin integration

  • Decorators

Incoming

Source and issue tracker

Sources are available at issue-tracker. You may also file a bug there.

Alternate projects

Django still only has the foundation for object permissions 1 and django-guardian makes use of new facilities and it is based on them. There are some other pluggable applications which do NOT require Django version 1.2+. For instance, django-authority or django-permissions are great options available.

1

See https://docs.djangoproject.com/en/stable/topics/auth/customizing/#handling-object-permissions for more detail.