Fix for AC-298. Remove check for project-team association as requirement to edit/run a job.

This commit is contained in:
Chris Church 2013-07-28 10:22:10 -04:00
parent 16fb2d3b70
commit 6f09299284

View File

@ -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