mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 14:38:00 -03:30
Fix for AC-298. Remove check for project-team association as requirement to edit/run a job.
This commit is contained in:
parent
16fb2d3b70
commit
6f09299284
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user