Parameterized Role-Based Access Control for Django. Provides hierarchical roles with customizable parameters (e.g., plan limits), integrates with Django admin, and supports migrations. Current version: 1.1.2. Release cadence: infrequent, last updated in 2021.
pip install django-prbacNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal setup: add 'prbac' to INSTALLED_APPS, run migrations, then use PrbacRole and decorators.
Add a 'get_roles()' method to your user model that returns a list of PrbacRole objects.
Monkey-patch or fork to replace jsonfield with Django's JSONField. No official migration path provided.
Restart your Django app after role changes, or use the appropriate sync command for your backend.