do not check survey license for workflow job relaunch

This commit is contained in:
AlanCoding
2016-12-09 16:03:10 -05:00
parent 35fe4c8448
commit c318b12428

View File

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