From 5f73d240fadc2f0a62cd798b867915fae7947cca Mon Sep 17 00:00:00 2001 From: Federico Capoano Date: Fri, 14 Aug 2020 14:12:11 -0500 Subject: [PATCH] [change] Enable organization admin by default #137 #143 Related to #137 Related to #143 --- README.rst | 5 ++--- openwisp_users/settings.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 4278ca51..b56c9b08 100644 --- a/README.rst +++ b/README.rst @@ -193,14 +193,13 @@ in the user administration section. +--------------+------------------+ | **type**: | ``boolean`` | +--------------+------------------+ -| **default**: | ``False`` | +| **default**: | ``True`` | +--------------+------------------+ Indicates whether the admin section for managing ``OrganizationOwner`` items is enabled or not. -It is disabled by default because `OpenWISP `_ does not use -this feature of `django-organizations `_ yet. +Find out more information about `organization owners <#organization-owners>`_. ``OPENWISP_USERS_AUTH_API`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/openwisp_users/settings.py b/openwisp_users/settings.py index 431f4ac6..f2f9eb75 100644 --- a/openwisp_users/settings.py +++ b/openwisp_users/settings.py @@ -2,7 +2,7 @@ from openwisp_utils.utils import default_or_test ORGANIZATON_USER_ADMIN = getattr(settings, 'OPENWISP_ORGANIZATON_USER_ADMIN', False) -ORGANIZATON_OWNER_ADMIN = getattr(settings, 'OPENWISP_ORGANIZATON_OWNER_ADMIN', False) +ORGANIZATON_OWNER_ADMIN = getattr(settings, 'OPENWISP_ORGANIZATON_OWNER_ADMIN', True) USERS_AUTH_API = getattr(settings, 'OPENWISP_USERS_AUTH_API', False) USERS_AUTH_THROTTLE_RATE = getattr( settings,