Openwisp-users

Latest version: v1.0.2

Safety actively analyzes 630450 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

0.4.1

Not secure
--------------------------

- [chores] Allow passing a string or uuid to the
`Organization membership helpers <https://github.com/openwisp/openwisp-users#organization-membership-helpers>`_
- [fix] The ``OrganizationUser`` instance of an ``OrganizationOwner``
won't be allowed to be ``is_admin=False``
- [fix] Fixed mutable class attribute in MultitenantAdminMixin
- [fix] Fixed exception when deleting ``OrganizationUser`` of an owner
- [fix] Fixed typographical error in organization name

0.4.0

Not secure
--------------------------

Features
~~~~~~~~

- [models] Added `organizations_managed <https://github.com/openwisp/openwisp-users#organizations-managed>`_ helper
- [models] Added `organizations_owned <https://github.com/openwisp/openwisp-users#organizations-owned>`_ helper

Changes
~~~~~~~

- [admin]: **Potentially backward incompatible change**:
Multi-tenant admin classes now allow only org managers.
Before this version, a user needed to be only org member
to see items of that organization in the admin, but this
is wrong! An ``OrganizationUser`` which has ``is_admin=False`` is
only an end-user of that organization.
Instead, an ``OrganizationUser`` which has ``is_admin=True`` is
also a manager and only this type of user shall be allowed
to manage items of the organization through the django admin site.
This is needed in order to support users being simple end-users
in one organization but administrators in others, otherwise
a staff user who is administrator of one organization would be
able to change also items of other organizations where
they are only members and not managers.
- [dependencies] Added support for django 3.1
- [dependencies] django-phonenumber-field 5.0

0.3.1

Not secure
--------------------------

- [deps] Updated openwisp-utils to 0.6.0
- [test] Added functions to add inline fields in extended app's integration testing

0.3.0

Not secure
--------------------------

Features
~~~~~~~~

- [models] Added `swappable models and extensible classes <https://github.com/openwisp/openwisp-users#extend-openwisp-users>`_
- [admin] Added support for `organization owners <https://github.com/openwisp/openwisp-users#organization-owners>`_
- [admin] Added default owner to each organization
- [api] Added `ObtainTokenView REST API endpoint <https://github.com/openwisp/openwisp-users#obtain-authentication-token>`_ for bearer authentication
- [api] Added `OPENWISP_USERS_AUTH_API <https://github.com/openwisp/openwisp-users#openwisp-users-auth-api>`_ and `OPENWISP_USERS_AUTH_THROTTLE_RATE <https://github.com/openwisp/openwisp-users#openwisp-users-auth-throttle-rate>`_ settings
- [api] Added `Django REST Framework permission classes <https://github.com/openwisp/openwisp-users#django-rest-framework-permission-classes>`_
- [models] Added `Organization membership helpers <https://github.com/openwisp/openwisp-users#organization-membership-helpers>`_
- [models] Added `User permission helpers <https://github.com/openwisp/openwisp-users#permissions-helpers>`_

Changes
~~~~~~~

- Enabled `organization owner admin <https://github.com/openwisp/openwisp-users#openwisp-organization-owner-admin>`_ by default
- [dependencies] Upgraded ``django-allauth 0.42.0``, ``django-extensions 3.0.2``,
``openwisp-utils 0.5[rest]`` and ``phonenumbers 8.12.0``

Bugfixes
~~~~~~~~

- [admin] Fixed administrator edit/delete users of the same organization
- [admin] Fixed unique validation error on empty phone number

0.2.2

Not secure
--------------------------

- [admin] Fixed regression that caused superusers to
not be able to delete regular users
- [admin] Do not de-register socialaccount if not enabled

0.2.1

Not secure
--------------------------

- [admin] Add possibility to deactivate users in batch operation
- [admin] Wrapped password forgot in row div
- [admin] Show latest items first in "recovery deleted <object>" pages

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.