Skip to main content

A Django app that provides generic per-object-permissions for Django's auth app.

Project description

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. You can also install the in-development version 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-authority-0.1.tar.gz (17.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page