Skip to main content

A role-based access control(RBAC) practice via Django.

Project description

A role-based access control(RBAC) practice via Django.

Quick start

  1. Add “rbac” to your INSTALLED_APPS setting like this:

  2. Add AUTH_USER_MODEL setting with “rbac.User” like this:

    AUTH_USER_MODEL = 'rbac.User'
  3. Run python migrate to create the rbac models. (MUST after step3)

  4. Start the development server and visit to check rbac models (you’ll need the Admin app enabled).

Known issues

  1. Execute migrate operator still create “auth_group” table in the database.

Project details

Release history Release notifications

This version


Download files

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

Files for django-auth-rbac, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size django_auth_rbac-0.0.1-py3-none-any.whl (9.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size django-auth-rbac-0.0.1.tar.gz (7.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page