feat: add skip_cosign_check URL parameter to temporarily bypass cosign verification

Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/d269a60b-15fe-4f81-a51e-c4d8212e0d5b

Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-27 01:29:36 +00:00
committed by GitHub
parent c962fcc10c
commit eea59927f8
4 changed files with 19 additions and 4 deletions

View File

@@ -128,6 +128,7 @@ $app->get('/containers', function (Request $request, Response $response, array $
$bypass_mastercontainer_update = isset($params['bypass_mastercontainer_update']);
$bypass_container_update = isset($params['bypass_container_update']);
$skip_domain_validation = isset($params['skip_domain_validation']);
$skip_cosign_check = isset($params['skip_cosign_check']);
return $view->render($response, 'containers.twig', [
'domain' => $configurationManager->domain,
@@ -180,6 +181,7 @@ $app->get('/containers', function (Request $request, Response $response, array $
'community_containers' => $configurationManager->listAvailableCommunityContainers(),
'community_containers_enabled' => $configurationManager->aioCommunityContainers,
'bypass_container_update' => $bypass_container_update,
'skip_cosign_check' => $skip_cosign_check,
]);
})->setName('profile');
$app->get('/login', function (Request $request, Response $response, array $args) use ($container) {