Features
- Added support for password expiration, allowing user passwords to automatically expire after a set period.
- Added multi-tenant Django filters.
- Added MultitenantOrgFilter to add autocomplete filter in
ModelAdmin
. - Added export-users command line utility to export users.
- Added ProtectedApiMixin.
- Added PasswordReuseValidator which prevents users from reusing their current password when setting a new one.
- Allowed creating users with a verified email via REST API.
Changes
- Added autocomplete fields in
OrganizationOwner
admin. - Enabled
OrganizationUserAdmin
by default.
Dependencies:
- Bumped
django-organizations~=2.4.1
. - Bumped
django-extensions~=3.2.3
. - Bumped
django-allauth[socialaccount]~=0.63.6
. - Bumped
django-phonenumber-field~=8.13.48
. - Bumped
django-reversion~=5.1.0
. - Bumped
phonenumbers~=8.13.48
. - Bumped
django-sesame~=3.2.2
. - Bumped
openwisp-utils[rest,celery]~=1.1.1
. - Added support for Django
4.1.x
and4.2.x
. - Added support for Python
3.10
. - Dropped support for Python
3.7
. - Dropped support for Django
3.0.x
and3.1.x
.
Bugfixes
- User need to have required model permissions to perform admin actions.
- Don't allow organization admin to create shared object.
- Fixed user's organization cache invalidation.
- Invalidate org membership cache when organization's active status changes.
- Fixed an issue where the organization admin would see multiple entries for the same user in the user changelist.
- Fixed admin unregistration failures for
EmailAddress
andTokenProxy
models. - Fixed an
IntegrityError
that occurred when adding the first user to an organization viaOrganization.add_user
. - Fixed UsersAuthenticationBackend to support phone numbers with leading zero.
- Prevented users registered via social login from setting a password.