A Django app that provides generic per-object-permissions for Django's auth app and helpers to create custom permission checks.
Find a file
Diego Búrigo Zacarão a92e3da0fd Added Permission Request feature
- Permissions are considered requests until the 'approved'
   field be set to True
2009-07-22 12:05:07 -03:00
docs Automated merge with ssh://hg@bitbucket.org/jezdez/django-authority/ 2009-07-17 14:03:44 +02:00
example Added Permission Request feature 2009-07-22 12:05:07 -03:00
src/authority Added Permission Request feature 2009-07-22 12:05:07 -03:00
.hgignore Added docs to source distribution and removed dev version tag for upcoming release 2009-07-17 14:13:38 +02:00
.hgtags Added tag 0.2 for changeset b6291a00d996 2009-07-17 14:13:49 +02:00
AUTHORS Updated manifest template and authors file 2009-07-11 17:34:52 +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 Added docs to source distribution and removed dev version tag for upcoming release 2009-07-17 14:13:38 +02:00
README typo in readme 2009-07-11 18:47:43 +02:00
setup.cfg Re-added dev tagging and bumping version up to 0.3 2009-07-17 14:16:24 +02:00
setup.py Re-added dev tagging and bumping version up to 0.3 2009-07-17 14:16:24 +02:00

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

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

The main website for django-authority is `packages.python.org/django-authority
<http://packages.python.org/django-authority/>`_. You can also install
the `in-development version <http://bitbucket.org/jezdez/django-authority/get/tip.gz#egg=django-authority-dev>`_ 
of django-authority with ``pip install django-authority==dev`` or ``easy_install django-authority==dev``.

Example
=======

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-trunk syncdb

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

    bin/django-trunk runserver

Now create a flatage and open it to see some of the templatetags in action.
Don't hesitate to use the admin to edit the permission objects.

Full docs coming soon.

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

Documentation
=============

The documenation is currently in development. You can create a nice looking
html version using the setup.py::

    python setup.py build_sphinx