From 6f09299284cbcabf2d9c40185f90b3961554606d Mon Sep 17 00:00:00 2001 From: Chris Church Date: Sun, 28 Jul 2013 10:22:10 -0400 Subject: [PATCH] Fix for AC-298. Remove check for project-team association as requirement to edit/run a job. --- awx/main/access.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/main/access.py b/awx/main/access.py index fe32f2be90..4bc35a3254 100644 --- a/awx/main/access.py +++ b/awx/main/access.py @@ -784,8 +784,8 @@ class JobTemplateAccess(BaseAccess): # shouldn't really matter with permissions given, but make sure the user # is also currently on the team in case they were added a per-user permission and then removed # from the project. - if not project.teams.filter(users__in=[self.user]).count(): - return False + #if not project.teams.filter(users__in=[self.user]).count(): + # return False return True