I have an issue with resource sharing cross-tenant

Hello everyone, I'm a new developer with Filament. I have an issue with resource sharing cross-tenant. it's possible to use resources across the tenant. For example, City Resource can use multiple tenants in the app.
10 Replies
Helge Sverre
Helge Sverre13mo ago
Add this to your filament resource to make it not be scoped to the tenant (aka shared amongst all tenants) protected static bool $isScopedToTenant = false;
Mr. Phearum
Mr. PhearumOP13mo ago
I put it already but still error like attach file
No description
No description
Helge Sverre
Helge Sverre13mo ago
which filament version are you running?
Mr. Phearum
Mr. PhearumOP13mo ago
v3
Mr. Phearum
Mr. PhearumOP13mo ago
No description
Helge Sverre
Helge Sverre13mo ago
i wonder if isScopedToTenant was added later, try updatring it to : "filament/filament": "^3.0",
Mr. Phearum
Mr. PhearumOP13mo ago
so sorry I'm a new developer, and I don't know how to run an update Can you share commend to update still the same error, I use composer update
Helge Sverre
Helge Sverre13mo ago
run this in the command line: composer require "filament/filament:^3.0"
Mr. Phearum
Mr. PhearumOP13mo ago
Thank you very much, I update to V3.1.20 it working now
Want results from more Discord servers?
Add your server