mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
flake8
This commit is contained in:
parent
a42986894f
commit
e41614f4e7
@ -225,7 +225,7 @@ class UserAccess(BaseAccess):
|
||||
return User.objects.all()
|
||||
|
||||
if tower_settings.ORG_ADMINS_CAN_SEE_ALL_USERS and \
|
||||
(self.user.admin_of_organizations.exists() or self.user.auditor_of_organizations.exists()):
|
||||
(self.user.admin_of_organizations.exists() or self.user.auditor_of_organizations.exists()):
|
||||
return User.objects.all()
|
||||
|
||||
return (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user