Merge branch 'main' into codex/0.1-kanban-foundation/03-project-memberships-teams-and-permission-model

This commit is contained in:
2026-03-26 19:40:26 +01:00
13 changed files with 331113 additions and 2 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;
}
/**