Skip to content

Commit

Permalink
[change] Enable organization admin by default #137 #143
Browse files Browse the repository at this point in the history
Related to #137
Related to #143
  • Loading branch information
nemesifier committed Aug 14, 2020
1 parent eb6d514 commit 5f73d24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <http://openwisp.org>`_ does not use
this feature of `django-organizations <https://github.com/bennylope/django-organizations>`_ yet.
Find out more information about `organization owners <#organization-owners>`_.

``OPENWISP_USERS_AUTH_API``
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion openwisp_users/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5f73d24

Please sign in to comment.