Bug #8152
django_rbac.models.PermissionMixin.has_perm_any and other new permission methods should work for superusers event if the DjangoRBAC backend is not loaded
Start date:
02 Sep 2015
Due date:
% Done:
100%
Estimated time:
Patch proposed:
No
Planning:
Associated revisions
History
Updated by Benjamin Dauvergne over 5 years ago
- Status changed from En cours to Résolu (à déployer)
- % Done changed from 0 to 100
Appliqué par commit authentic2|451a11df72f5f5d572d7f276b52059da2ad658a2.
Updated by Benjamin Dauvergne about 5 years ago
- Status changed from Résolu (à déployer) to Solution déployée
django_rbac: superusers are always authorized (fixes #8152)
If the DjangoRBACBackend backend is not loaded, superuser must still be
authorized when calling .has_perms(), .has_perm_any() or .has_ou_perm().