v7.0.0-beta.4 release

This commit is contained in:
HeuJung committed 2026-05-11 11:29:41 +09:00
1 parent 05db17887d
commit 1db039ff34
1545 files changed
+136783 -11634

No files matched your search

@@ -17,6 +17,8 @@ class PerformPluginUpdateRequest extends FormRequest
* 사용자가 이 요청을 수행할 권한이 있는지 확인
*
* 권한 체크는 라우트의 permission 미들웨어에서 수행됩니다.
*
* @return bool 항상 true (권한은 미들웨어 체인에서 검증)
*/
public function authorize(): bool
{
@@ -33,9 +35,11 @@ class PerformPluginUpdateRequest extends FormRequest
$rules = [
'layout_strategy' => ['nullable', 'string', 'in:overwrite,keep'],
'vendor_mode' => ['nullable', 'string', 'in:auto,composer,bundled'],
// 코어 버전 비호환 강제 우회 플래그 (위험 인지 후 사용자 명시 필요)
'force' => ['nullable', 'boolean'],
];
return HookManager::applyFilters('core.plugin.perform_update_rules', $rules);
return HookManager::applyFilters('core.plugin.perform_update_validation_rules', $rules, $this);
}
/**