fix: make project template inheritance granular and safe
linter / quality (pull_request) Successful in 2m52s
tests / ci (8.4) (pull_request) Successful in 3m15s

This commit is contained in:
Nico Schröder
2026-09-08 12:03:07 +02:00
parent 0f125f17a3
commit 3122e00ed8
50 changed files with 1504 additions and 624 deletions
+3
View File
@@ -169,6 +169,9 @@ class ProjectApiTest extends TestCase
'position' => 2,
'is_parent' => false,
]);
$project->forceFill([
'template_overrides' => [DuplicateProjectConfiguration::COPY_PROJECT_SETTINGS],
])->saveQuietly();
$this->syncProjectPermissions($project, $user, ['view']);