mirror of
https://github.com/ansible/awx.git
synced 2026-02-20 04:30:05 -03:30
Fix up some rbac issues that were blocking survey taker incidentally and
otherwise preventing normal users with the right permissions from starting jobs
This commit is contained in:
@@ -978,6 +978,7 @@ class JobTemplateAccess(BaseAccess):
|
||||
Q(user=self.user) | Q(team__users__in=[self.user]),
|
||||
inventory=obj.inventory,
|
||||
project=obj.project,
|
||||
active=True,
|
||||
permission_type__in=[PERM_JOBTEMPLATE_CREATE, PERM_INVENTORY_CHECK, PERM_INVENTORY_DEPLOY],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user