Testing/CI/ACL

This commit is contained in:
2026-03-21 03:01:08 -05:00
parent d1316c8fd6
commit dcebbceb88
60 changed files with 3141 additions and 1479 deletions
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace MageSail\Magesail\Plugin\Store;
@@ -36,11 +37,13 @@ class TunnelStoreBaseUrlPlugin
return $result;
}
$effectiveType = $type ?? UrlInterface::URL_TYPE_LINK;
if (!\in_array($effectiveType, [
if (
!\in_array($effectiveType, [
UrlInterface::URL_TYPE_LINK,
UrlInterface::URL_TYPE_DIRECT_LINK,
UrlInterface::URL_TYPE_WEB,
], true)) {
], true)
) {
return $result;
}
if ($this->tunnelRequestDetector->getTunnelStoreCode($this->request) === null) {