mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Merge pull request #4376 from AlanCoding/wf_start_survey
Do not check survey license for workflow job relaunch
This commit is contained in:
commit
75a85cdab2
@ -1624,8 +1624,6 @@ class WorkflowJobAccess(BaseAccess):
|
||||
def can_start(self, obj, validate_license=True):
|
||||
if validate_license:
|
||||
self.check_license()
|
||||
if obj.survey_enabled:
|
||||
self.check_license(feature='surveys')
|
||||
|
||||
if self.user.is_superuser:
|
||||
return True
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user