https://github.com/djaodjin/djaodjin-rules
Proxy HTTP firewall
https://github.com/djaodjin/djaodjin-rules
django proxy role-based-access-control security
Last synced: about 1 year ago
JSON representation
Proxy HTTP firewall
- Host: GitHub
- URL: https://github.com/djaodjin/djaodjin-rules
- Owner: djaodjin
- Created: 2016-02-20T17:35:53.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2025-04-07T18:46:46.000Z (about 1 year ago)
- Last Synced: 2025-04-07T19:41:08.135Z (about 1 year ago)
- Topics: django, proxy, role-based-access-control, security
- Language: Python
- Size: 1.69 MB
- Stars: 4
- Watchers: 2
- Forks: 4
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: changelog
Awesome Lists containing this project
README
DjaoDjin-Rules
==============
[](https://badge.fury.io/py/djaodjin-rules)
Flexible framework to check permissions to URIs and forward HTTP requests
This project contains bare bone templates. To see it in action, integrated into
a full-fledged subscription-based session proxy with bootstrap-styled
dashboards, take a look at [djaoapp](https://github.com/djaodjin/djaoapp/).
Development
===========
After cloning the repository, create a virtualenv environment and install
the prerequisites:
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -r testsite/requirements.txt
It remains to create the database and populate it with test data.
$ python ./manage.py migrate --run-syncdb --noinput
$ python ./manage.py loaddata testsite/fixtures/test_data.json
Run the testsite
$ python ./manage.py runserver
Release Notes
=============
Tested with
- **Python:** 3.10, **Django:** 4.2 ([LTS](https://www.djangoproject.com/download/))
- **Python:** 3.12, **Django:** 5.1 (next)
- **Python:** 3.7, **Django:** 3.2 (legacy)
0.4.9
* uses settings.AUTHENTICATION_OVERRIDE instead of as an App field
* fixes `get_raw_uri` was removed in Django4.2
[previous release notes](changelog)