hwapx
hwapx
FFilament
Created by Wiebe on 8/1/2023 in #❓┊help
Ignore tenant on certain resources
So far no issues
9 replies
FFilament
Created by Wiebe on 8/1/2023 in #❓┊help
Ignore tenant on certain resources
While it don't looks correcly to me. I'm solving the problem overriding the method scopeEloquentQueryToTenant and returning the query without changes
public static function scopeEloquentQueryToTenant(Builder $query, ?\Illuminate\Database\Eloquent\Model $tenant): Builder
{
return $query;
}
public static function scopeEloquentQueryToTenant(Builder $query, ?\Illuminate\Database\Eloquent\Model $tenant): Builder
{
return $query;
}
9 replies
FFilament
Created by Wiebe on 8/1/2023 in #❓┊help
Ignore tenant on certain resources
Sadly multiple panels isn't the best solution. Some resources belong to the same "panel domain" and must be readable by all users, while only "Super Admins" can write to it. Other resources are read only for all and only writable by automated scripts, like the list of cities or the list of tenants/partners that should be readable for all users without filtering by tenancy.
9 replies
FFilament
Created by Wiebe on 8/1/2023 in #❓┊help
Ignore tenant on certain resources
Same question. Looking at the code, my first impression is that it's currently not possible.
9 replies