© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•6mo ago•
3 replies
marianov24

404 only when RelationManager enabled (tenant setup, policies applied)

Hi all, I’m stuck with Filament v4 returning 404 when a RelationManager is active.
Setup
- Laravel v12, Filament v4
- Multi-tenancy modeled with companies table (company_id)
- Models:
Company (tenant, route by slug)
CompanyRequestEvent → belongsTo(Company)
CompanyRequestEventSector → belongsTo(CompanyRequestEvent) + hasOneThrough to Company

Resource / RelationManager
CompanyRequestEventResource: protected static ?string $tenantOwnershipRelationshipName = 'company';
CompanyRequestEventSectorsRelationManager: protected static string $relationship = 'companyRequestEventSectors'; + same tenantOwnershipRelationshipName

Observed behavior
Event edit page works without RelationManager
Enabling RelationManager → 404
Tinker confirms $sector->company and $event->company return valid models

What I tried
Policies for all 3 models with all methods returning true
AuthServiceProvider registered
hasOneThrough works in Tinker
TenantOwnershipRelationshipName set correctly

Question / Help
Has anyone seen 404 only when RelationManager is active, even with policies and tenant ownership set?
Where in Filament v4 would you debug authorization / tenant checks for RelationManagers?

Thanks!
Solution
fix in version 4.0.11
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Tenant panel gives 404
FilamentFFilament / ❓┊help
3y ago
Policies for ManageRelatedRecords only
FilamentFFilament / ❓┊help
16mo ago
Getting a 404 when trying to register a tenant
FilamentFFilament / ❓┊help
2y ago
Style tenant dropdown when user only has access to a single tenant
FilamentFFilament / ❓┊help
13mo ago