FilamentF
Filament2y ago
adnn

Baptiste job monitor multi tenancy?

How can I make this plugin work properly with tenants?

It keeps saying
The model [Croustibat\FilamentJobsMonitor\Models\QueueMonitor] does not have a relationship named [team]. You can change the relationship being used by passing it to the [ownershipRelationship] argument of the [tenant()] method in configuration. You can change the relationship being used per-resource by setting it as the [$tenantOwnershipRelationshipName] static property on the [Croustibat\FilamentJobsMonitor\Resources\QueueMonitorResource] resource class.


Usually I'd just add
protected static bool $isScopedToTenant = false;
to the Resource, but this one doesn't have a resource published so I'm not really sure where or how to do it

https://filamentphp.com/plugins/croustibat-jobs-monitor
Filament
Monitor your queues from a panel
Was this page helpful?