- Update groups add, remove and users add, remove methods trigger
only one event on the parent method and multiple on the child method.
- Add missing group_list, _add, _remove permissions.
- Monkey patch Django's User and Group model save method to
trigger the creation and edited events.
- Monkeypatch user sorting to silence warnings.
- Improve test mixins to allow reuse of view and API view
requests.
- Finish adding all API tests.
- Add events test from API view requests.
- Remove event commits from views.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
Add keyword arguments.
Update view resolutions and URL parameters to the '_id' form.
Remove code from create and edit subclasses and user
the super class error checking.
Cache the view object instead of using .get_object()
every time.
Movernize tests.
Update views to comply with MERCs 5 and 6.
Split UserTestMixin into mixins for Groups and Users tests.
Add super delete and detail tests.
Remove redundant superuser filtering from views.
Add transactions to views that also commit events.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
Move the current user detail and edit views from the common app
to the user_management app. Add the user created and edited events.
Add an user detail view.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>