Merge branch 'main' into codex/0.1-kanban-foundation/10-ticket-links-and-blocker-state
linter / quality (pull_request) Successful in 1m32s
tests / ci (8.4) (pull_request) Successful in 1m18s

This commit is contained in:
2026-03-31 00:09:29 +02:00
38 changed files with 331454 additions and 86 deletions
@@ -12,7 +12,7 @@ class UpdateUserAdminStatusRequest extends FormRequest
*/
public function authorize(): bool
{
return $this->user()?->is_admin === true;
return $this->user()?->can('access-admin') ?? false;
}
/**
@@ -27,15 +27,4 @@ class StoreBoardColumnRequest extends FormRequest
'position' => ['nullable', 'integer', 'min:1'],
];
}
public function position(): ?int
{
$position = $this->validated('position');
if ($position === null) {
return null;
}
return (int) $position;
}
}
@@ -27,9 +27,4 @@ class UpdateBoardColumnRequest extends FormRequest
'position' => ['required', 'integer', 'min:1'],
];
}
public function position(): int
{
return (int) $this->validated('position');
}
}