feat: Restrict ledger creation exclusively to dynamic owners and fix route matching conflicts
linter / quality (push) Failing after 1m0s
tests / ci (8.3) (push) Failing after 47s
tests / ci (8.4) (push) Failing after 1m5s
tests / ci (8.5) (push) Failing after 1m4s

This commit is contained in:
Daan Meijer
2026-06-17 00:29:40 +02:00
parent d01091d5a6
commit ae6a4304f9
3 changed files with 59 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ class StoreLedgerRequest extends FormRequest
{
$dynamic = $this->route('dynamic');
return $dynamic && $this->user()->can('view', $dynamic);
return $dynamic && $this->user()->can('update', $dynamic);
}
/**