We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4c55c3 commit 14eb9a8Copy full SHA for 14eb9a8
www/experiments.php
@@ -141,12 +141,9 @@
141
?>
142
143
<?php
144
- $isSaaSTest = (stripos($id, '_saas_') !== false);
145
- $isInstantTest = (stripos($id, '_instant_') !== false);
146
- $isAdmin = isset($request_context) && $request_context->getUser()->isAdmin();
147
if (
148
!$headless && gz_is_file("$testPath/testinfo.json")
149
- && (!array_key_exists('published', $test['testinfo']) || (($isSaaSTest || $isInstantTest) && $isAdmin))
+ && !array_key_exists('published', $test['testinfo'])
150
&& ($isOwner || !$test['testinfo']['sensitive'])
151
&& (!isset($test['testinfo']['type']) || !strlen($test['testinfo']['type']))
152
) {
0 commit comments