Installation

Install Dependencies

The app provides an object level permission system on NoSql/Nonrel database backends. Therefor you need Django-nonrel and Djangotoolbox. You need Django-nonrel and Djangotoolbox, so have a look at the Django-nonrel setup instructions.

The app uses django-permission-backend-nonrel ‘s group emulation to provide group permissions. Get the code from bitbucket and add it to your Django-nonrel project (put the app folder in your project root directory and add permission_backend_nonrel to your INSTALLED_APPS).

Install the app

  • get the code from bitbucket
  • add it to your Django-nonrel project (put the app folder in your project root directory and add object_permission_backend_nonrel to your INSTALLED_APPS)
  • add object_permission_backend_nonrel.backends.ObjectPermBackend to your AUTHENTICATION_BACKENDS in settings.py

That’s it

That’s it – you can now start using object level permissions.