Skip to main content

Django permissions that work with QuerySets.

Project description

Who would cross the Bridge of Death
must answer me these questions three,
ere the other side he see.

—The Bridgekeeper, Monty Python and the Holy Grail

Bridgekeeper is a permissions library for Django projects, where permissions are defined in your code, rather than in your database.

It’s heavily inspired by django-rules, but with one important difference: it works on QuerySets as well as individual model instances.

This means that you can efficiently show a list of all of the model instances that your user is allowed to edit, for instance, without having your permission-checking code in two different places.

Bridgekeeper is tested on Django 2.2 and 3.0 on all Python versions Django supports, and is licensed under the MIT License.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for bridgekeeper, version 0.9
Filename, size File type Python version Upload date Hashes
Filename, size bridgekeeper-0.9-py3-none-any.whl (20.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size bridgekeeper-0.9.tar.gz (15.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page