Skip to content

Commit f071cf3

Browse files
committed
[req-changes] Improved docs
1 parent 0db59e1 commit f071cf3

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

docs/user/basic-concepts.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ different roles in each.
157157

158158
Here's a summary of the default organization roles.
159159

160+
.. _users_organization_manager:
161+
160162
Organization Manager
161163
~~~~~~~~~~~~~~~~~~~~
162164

@@ -241,6 +243,13 @@ objects are defined and managed by super administrators and can include
241243
configurations, policies, or other data that need to be consistent across
242244
all organizations.
243245

246+
Shared objects can only be created by superusers. Non-superusers (e.g.
247+
:ref:`users_organization_manager`) have view-only access to shared
248+
objects. However, they can use these shared objects when creating related
249+
organization-specific resources. E.g., an organization manager can use a
250+
shared VPN server to create a configuration template for their
251+
organization.
252+
244253
By sharing common resources, global uniformity and consistency can be
245254
enforced across the entire system.
246255

openwisp_users/static/admin/js/autocomplete.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
$(element).select2({
1313
ajax: {
1414
data: (params) => {
15-
console.log("params", element.dataset);
1615
return {
1716
term: params.term,
1817
page: params.page,

tests/testapp/tests/test_selenium.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ def test_shelf_add_form_organization_field(self):
150150

151151
def test_organization_autocomplete_filter(self):
152152
"""
153-
The autocomplete_filter should show option to filter
154-
shared objects to non-superuser.
153+
The autocomplete_filter should show the "Shared systemwide (no organization)"
154+
option to non-superuser users.
155155
"""
156156
path = reverse("admin:testapp_shelf_changelist")
157157
org1 = self._create_org(name="org1")

0 commit comments

Comments
 (0)