Roles (V0.13.1)

(Experimental - until v0.14)

Based directly on django-role-permissions , it uses the Django built-in permissions and groups features and extends to add utilities and support for object-level permissions. The modified role permissions app embedded in the app also includes extensions for multitenancy.

Changes made to enable multi-tenancy.

The User model has been changed. It now extends the AbstractBaseUser class instead of AbstractUser class. The User model now uses a new TenantPermissionsMixin model which overrides the default Groups and Permissions many to many fields.

Apart from the above, everything else remains unchanged.

Test suite

For consistency, the django_role_permissions test suite was changed to use pytest instead of the default django test case. Currently outstanding are UI updates and migrations for Teams and Workspace permissions.