Django permissions, but with QuerySets
Switch branches/tags
Nothing to show
Clone or download
Latest commit a6a917d Aug 27, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
bridgekeeper
docs
testproject
.gitignore
.pre-commit-config.yaml
.prospector.yaml
LICENSE
README.rst
modd.conf
requirements.txt
setup.py
tox.ini

README.rst

Bridgekeeper

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 :class:`~django.views.generic.list.ListView` 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 works on Django 1.11 and 2.0 on Python 3.5+, and is licensed under the MIT License.

Warning

Bridgekeeper (and these docs!) are a work in progress.