Django permissions that work with QuerySets.
Project description
Who would cross the Bridge of Deathmust 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.
Source Distribution
Built Distribution
File details
Details for the file bridgekeeper-0.9.tar.gz
.
File metadata
- Download URL: bridgekeeper-0.9.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.3 Darwin/19.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63b19f692f16bd6ca93a9de91eae03467b68b14d424f0b5110aba54e97ceb65d |
|
MD5 | 671a386224a91a900c7b4e4e8f08608a |
|
BLAKE2b-256 | 5c4aea192f0775c9c3da50c48b3461b896254c64a297ff29f743ee1da97b5431 |
File details
Details for the file bridgekeeper-0.9-py3-none-any.whl
.
File metadata
- Download URL: bridgekeeper-0.9-py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.3 Darwin/19.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3e2c9a39736595d4ece5044d739bd58ab7e30e34637b512cea09b935f0245e1 |
|
MD5 | baaca8eacb2c031ac8e6b2f067ed24ae |
|
BLAKE2b-256 | 55a29dc65ae1fe79f656733c59ed17339d9b60b3cae3dfa6f638f2b75b29e4d8 |