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-12 22:28:21 +02:00
docs More doc updates 2009-07-12 22:28:21 +02:00
example Fixes issue #2 - Adds ability to pass non-lookup parameters in decorator to permission check. 2009-07-10 15:55:25 +02:00
src/authority Docs: added a bunch of doc pages. Restructured everything. worksforme 2009-07-12 19:47:11 +02:00
.hgignore Docs: Added first drafts of documents of the basic structure of the docs. 2009-07-12 12:31:26 +02:00
.hgtags Added tag 0.1 for changeset f2ede7f3daa2 2009-07-11 18:36:46 +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 Updated manifest template and authors file 2009-07-11 17:34:52 +02:00
README typo in readme 2009-07-11 18:47:43 +02:00
setup.cfg Readded dev tagging after doing 0.1 release 2009-07-11 18:37:17 +02:00
setup.py bumped version up after releasing 0.1 2009-07-11 18:48:51 +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