feat: aggiungi supporto per superadmin in diverse risorse e aggiorna il modello utente
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Filament\Resources;
|
||||
|
||||
use App\Filament\Concerns\SoloSuperadmin;
|
||||
use App\Filament\Resources\VetroResource\Pages;
|
||||
use App\Filament\Support\CampiConfiguratore;
|
||||
use App\Models\Vetro;
|
||||
@@ -13,8 +14,11 @@ use Filament\Tables;
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Validation\Rules\Unique;
|
||||
|
||||
|
||||
class VetroResource extends Resource
|
||||
{
|
||||
use SoloSuperadmin;
|
||||
|
||||
protected static ?string $model = Vetro::class;
|
||||
|
||||
protected static ?string $navigationIcon = 'heroicon-o-square-2-stack';
|
||||
|
||||
Reference in New Issue
Block a user