Merge pull request #4376 from AlanCoding/wf_start_survey

Do not check survey license for workflow job relaunch
This commit is contained in:
Alan Rominger 2016-12-09 16:49:26 -05:00 committed by GitHub
commit 75a85cdab2

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