A Django app that provides generic per-object-permissions for Django's auth app and helpers to create custom permission checks.
Find a file
2009-07-03 15:41:21 +02:00
example Fixed decorator to only check for permissions if user is logged in. Added permission_denied view to be used when permission check unsuccessful, e.g. with the new permission_required_or_403 decorator. The permission_required decorator will redirect to the login form by default. 2009-07-03 15:41:21 +02:00
src/authority Fixed decorator to only check for permissions if user is logged in. Added permission_denied view to be used when permission check unsuccessful, e.g. with the new permission_required_or_403 decorator. The permission_required decorator will redirect to the login form by default. 2009-07-03 15:41:21 +02:00
.hgignore Updates to hgignore 2009-06-08 12:06:29 +02:00
AUTHORS initial checkin with buildout and some other default files 2009-06-08 11:58:38 +02:00
bootstrap.py initial checkin with buildout and some other default files 2009-06-08 11:58:38 +02:00
buildout.cfg Add an alternative Django 1.0.2 section to the buildout. Use django-debug-toolbar's released version instead of latest development version. 2009-07-03 15:34:42 +02:00
LICENSE Added setup.py and LICENSE 2009-06-08 12:06:14 +02:00
MANIFEST.in Fixed manifest template 2009-06-12 00:59:00 +02:00
README Small update to README 2009-06-12 12:02:39 +02:00
setup.py Added decorator to required packages in setup.py 2009-06-22 16:07:20 +02:00

================
django-authority
================

This is a Django app for per-object-permissions that includes a bunch of
helpers to create custom permission checks.

To get the example project running do:

- Bootstrap the buildout by running::

    python bootstrap.py

- Get the required packages by running::

    bin/buildout

- Sync the database::

    bin/django syncdb

- Run the development server and visit the admin at http://127.0.0.1:8000/admin/::

    bin/django runserver

Now create a flatage and open it to see some of the templatetags in action.
Full docs coming soon.

Please use http://bitbucket.org/jezdez/django-authority/issues/ for issues and bug reports.