Allow resources to bypass tenancy
With tenancy in place, is it possible to allow certain resources to bypass tenancy (i.e. be available to all users, regardless of their tenant)?
5 Replies
No not right now I don't think.
I guess I could just override the
getEloquentQuery
method on the resourceWell the tenant ID is still attatched to the url so I think the user would still have to belong to the tenant
Because any user who doesnt belong to the tenant would have a 404
Gotcha, yeah good point.
This works perfectly @lancodev
Stick that on the resource. I don't allow create / edit of them etc, and the modal to request more added to the global table doesn't use filament to save the response - so it works.