mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 13:39:27 -02:30
do not check survey license for workflow job relaunch
This commit is contained in:
@@ -1624,8 +1624,6 @@ class WorkflowJobAccess(BaseAccess):
|
|||||||
def can_start(self, obj, validate_license=True):
|
def can_start(self, obj, validate_license=True):
|
||||||
if validate_license:
|
if validate_license:
|
||||||
self.check_license()
|
self.check_license()
|
||||||
if obj.survey_enabled:
|
|
||||||
self.check_license(feature='surveys')
|
|
||||||
|
|
||||||
if self.user.is_superuser:
|
if self.user.is_superuser:
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user