mirror of
https://github.com/ansible/awx.git
synced 2026-05-17 22:37:41 -02:30
Reword help text for manage org auth
This commit is contained in:
@@ -547,7 +547,7 @@ class UserAccess(BaseAccess):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def can_attach(self, obj, sub_obj, relationship, *args, **kwargs):
|
def can_attach(self, obj, sub_obj, relationship, *args, **kwargs):
|
||||||
if not settings.MANAGE_ORGANIZTAION_AUTH:
|
if not settings.MANAGE_ORGANIZATION_AUTH:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# Reverse obj and sub_obj, defer to RoleAccess if this is a role assignment.
|
# Reverse obj and sub_obj, defer to RoleAccess if this is a role assignment.
|
||||||
|
|||||||
@@ -46,8 +46,8 @@ register(
|
|||||||
register(
|
register(
|
||||||
'MANAGE_ORGANIZATION_AUTH',
|
'MANAGE_ORGANIZATION_AUTH',
|
||||||
field_class=fields.BooleanField,
|
field_class=fields.BooleanField,
|
||||||
label=_('Organizations Can Manage Users and Teams'),
|
label=_('Organization Admins Can Manage Users and Teams'),
|
||||||
help_text=_('Controls whether Orgainzations have the privileges to create and manage users and teams. '
|
help_text=_('Controls whether any Organization Admin has the privileges to create and manage users and teams. '
|
||||||
'You may want to disable this ability if you are using an LDAP or SAML integration.'),
|
'You may want to disable this ability if you are using an LDAP or SAML integration.'),
|
||||||
category=_('System'),
|
category=_('System'),
|
||||||
category_slug='system',
|
category_slug='system',
|
||||||
|
|||||||
Reference in New Issue
Block a user