mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
fix(storage): require deploy permission for external host writes
Require deploy or root token access when creating managed mounts outside resource directories or changing their file contents through the API. Synchronize KeyDB and Dragonfly passwords with local and shared REDIS_PASSWORD values while preserving secret manager resolution.
This commit is contained in:
@@ -112,6 +112,13 @@ describe('registry image guard', function () {
|
||||
callMultiServerDeploymentJob($job, 'ensureRegistryImageForMultipleServers');
|
||||
})->throwsNoExceptions();
|
||||
|
||||
test('allows docker compose applications, which build on each server', function () {
|
||||
$this->application->update(['build_pack' => 'dockercompose']);
|
||||
$job = makeMultiServerDeploymentJob(['application' => $this->application->fresh()]);
|
||||
|
||||
callMultiServerDeploymentJob($job, 'ensureRegistryImageForMultipleServers');
|
||||
})->throwsNoExceptions();
|
||||
|
||||
test('allows preview deployments, which run only on the main server', function () {
|
||||
$job = makeMultiServerDeploymentJob(['application' => $this->application, 'pull_request_id' => 7]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user