feat: Permission System Hướng B - Models, Command, User can(), session cache
This commit is contained in:
@@ -13,6 +13,7 @@ use App\Filament\Resources\Customers\Tables\CustomersTable;
|
||||
|
||||
class CustomerResource extends Resource
|
||||
{
|
||||
protected static array $permissionActions = ["view", "create", "update", "delete", "restore", "forceDelete"];
|
||||
protected static ?string $model = Customer::class;
|
||||
protected static string | \BackedEnum | null $navigationIcon = 'heroicon-o-users';
|
||||
protected static string | \UnitEnum | null $navigationGroup = NavigationGroup::CUSTOMER->value;
|
||||
|
||||
Reference in New Issue
Block a user