diff --git a/src/url.php b/src/url.php index d741498b..8fc7b229 100644 --- a/src/url.php +++ b/src/url.php @@ -196,9 +196,14 @@ function url_variable(string $value, array $variables): string { } function url_list(): array { + global $hasManageAccess; + $collection = []; foreach(MSZ_URLS as $name => $urlInfo) { + if(empty($hasManageAccess) && starts_with($name, 'manage-')) + continue; + $item = [ 'name' => $name, 'path' => $urlInfo[0],