diff --git a/CHANGES.rst b/CHANGES.rst index a9c5ab79..633c50e1 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,35 +1,34 @@ Changelog ========= -Version 0.4.0 [unreleased] +Version 0.4.0 [2020-08-23] -------------------------- Features ~~~~~~~~ -- [models] Added `organizations_managed helper `_ -- [models] Added `organizations_owned helper `_ +- [models] Added `organizations_managed `_ helper +- [models] Added `organizations_owned `_ helper -Changes/Bugfixes -~~~~~~~~~~~~~~~~ - -**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. +Changes +~~~~~~~ -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. +- [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 Version 0.3.1 [2020-08-17] -------------------------- diff --git a/openwisp_users/__init__.py b/openwisp_users/__init__.py index 9831fc48..2c2cd407 100644 --- a/openwisp_users/__init__.py +++ b/openwisp_users/__init__.py @@ -1,4 +1,4 @@ -VERSION = (0, 4, 0, 'alpha') +VERSION = (0, 4, 0, 'final') __version__ = VERSION # alias default_app_config = 'openwisp_users.apps.OpenwispUsersConfig'