v1.0.0 (Release 12/4/2019) --------------------
Decorator processors improvements.
Added support for nested decorators:
@staff_member_required @permission_required('auth.view_user') def my_view(request): ...
Added support for decorators within
@method_decorator
on class based views:class MyView(View): @method_decorator(staff_member_required) @method_decorator(permission_required('auth.view_user')) def dispatch(self, request, *args, **kwargs): ...
- Refactored test suite to be much cleaner.
- Added error message when multiple permissions are found for a single permission string in the django admin.
- The django Groups admin list is now overridden instead of adding a custom one (this can be configured via
PERMISSIONS_AUDITOR_ADMIN_OVERRIDE_GROUPS
setting.) - Added
check_view_permissions
management command.
- Prevented the app from creating migrations
- Fixed permission check for groups listing (uses the default Django 'auth.change_group', 'auth.view_group')
- Fixed N+1 query in groups listing
- Hotfix for auth migrations issue
- Added groups listing to admin site
- Marked docstrings as safe in admin templates
- No longer suppress inner exceptions when parsing processors
- Fixed Django admin module permissions check
- Fixed various cache issues
- Only show active users in the admin permission configuration page
- Initial stable release