mirror of
https://github.com/ansible/awx.git
synced 2026-02-12 15:14:45 -03:30
Add new endpoint for creation of approval nodes
This commit is contained in:
@@ -164,7 +164,7 @@ def is_implicit_parent(parent_role, child_role):
|
||||
# The only singleton implicit parent is the system admin being
|
||||
# a parent of the system auditor role
|
||||
return bool(
|
||||
child_role.singleton_name == ROLE_SINGLETON_SYSTEM_AUDITOR and
|
||||
child_role.singleton_name == ROLE_SINGLETON_SYSTEM_AUDITOR and
|
||||
parent_role.singleton_name == ROLE_SINGLETON_SYSTEM_ADMINISTRATOR
|
||||
)
|
||||
# Get the list of implicit parents that were defined at the class level.
|
||||
|
||||
Reference in New Issue
Block a user