mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
Grant project access to teams through role parenting
This commit is contained in:
@@ -219,7 +219,10 @@ class Project(UnifiedJobTemplate, ProjectOptions, ResourceMixin):
|
||||
admin_role = ImplicitRoleField(
|
||||
role_name='Project Administrator',
|
||||
role_description='May manage this project',
|
||||
parent_role='organization.admin_role',
|
||||
parent_role=[
|
||||
'organization.admin_role',
|
||||
'teams.member_role',
|
||||
],
|
||||
permissions = {'all': True}
|
||||
)
|
||||
auditor_role = ImplicitRoleField(
|
||||
|
||||
Reference in New Issue
Block a user