Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
rules manager for dynamic permissions with ACL like declarations
branch: master

This branch is 13 commits behind anthony-tresontani:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
rules
tests
.gitignore
README.rst
TODO
requirements.txt
run_tests.py
setup.py

README.rst

Rules

Flexible ACL library for Django

Install

Install:

pip install django-rules

Add rules to INSTALLED_APPS and run python manage.py syncdb to create the appropriate database tables.

Use

...

Contribute

Install for contributing:

git clone git://github.com/anthony-tresontani/rules.git
mkvirtualenv rules
cd rules
python setup.py develop
pip install -r requirements.txt

Run tests:

./run_tests.py

Understand

Automatic group creation

Any object is automatically assigned a group by default containing the all objects of the same model. For ex, any Product instead will belong to the group group_product_model.

Something went wrong with that request. Please try again.