diff --git a/app/Filament/Resources/EmployeeshipResource.php b/app/Filament/Resources/EmployeeshipResource.php index 77dd897..6203132 100644 --- a/app/Filament/Resources/EmployeeshipResource.php +++ b/app/Filament/Resources/EmployeeshipResource.php @@ -33,6 +33,8 @@ public static function table(Table $table): Table ]) ->actions([ Tables\Actions\EditAction::make(), + Tables\Actions\ViewAction::make(), + Tables\Actions\DeleteAction::make() ]) ->bulkActions([ Tables\Actions\DeleteBulkAction::make(), diff --git a/app/Filament/Resources/HardwareResource.php b/app/Filament/Resources/HardwareResource.php index f72d39d..463bdd7 100644 --- a/app/Filament/Resources/HardwareResource.php +++ b/app/Filament/Resources/HardwareResource.php @@ -125,6 +125,8 @@ public static function table(Table $table): Table ]) ->actions([ Tables\Actions\EditAction::make(), + Tables\Actions\ViewAction::make(), + Tables\Actions\DeleteAction::make() ]) ->bulkActions([ Tables\Actions\DeleteBulkAction::make(), diff --git a/app/Filament/Resources/PeriphelResource.php b/app/Filament/Resources/PeriphelResource.php index 23cea3d..94c099c 100644 --- a/app/Filament/Resources/PeriphelResource.php +++ b/app/Filament/Resources/PeriphelResource.php @@ -65,6 +65,8 @@ public static function table(Table $table): Table ]) ->actions([ Tables\Actions\EditAction::make(), + Tables\Actions\ViewAction::make(), + Tables\Actions\DeleteAction::make() ]) ->bulkActions([ Tables\Actions\DeleteBulkAction::make(), diff --git a/app/Filament/Resources/ProvaiderResource.php b/app/Filament/Resources/ProvaiderResource.php index 5781f3e..42de141 100644 --- a/app/Filament/Resources/ProvaiderResource.php +++ b/app/Filament/Resources/ProvaiderResource.php @@ -50,6 +50,8 @@ public static function table(Table $table): Table ->filters([]) ->actions([ Tables\Actions\EditAction::make(), + Tables\Actions\ViewAction::make(), + Tables\Actions\DeleteAction::make() ]) ->bulkActions([ Tables\Actions\DeleteBulkAction::make(), diff --git a/app/Filament/Resources/SoftwareResource.php b/app/Filament/Resources/SoftwareResource.php index 8231efd..4263f49 100644 --- a/app/Filament/Resources/SoftwareResource.php +++ b/app/Filament/Resources/SoftwareResource.php @@ -76,6 +76,8 @@ public static function table(Table $table): Table ]) ->actions([ Tables\Actions\EditAction::make(), + Tables\Actions\ViewAction::make(), + Tables\Actions\DeleteAction::make() ]) ->bulkActions([ Tables\Actions\DeleteBulkAction::make(), diff --git a/database/seeders/PermissionsTableSeeder.php b/database/seeders/PermissionsTableSeeder.php index 79a45e4..02ebfe2 100644 --- a/database/seeders/PermissionsTableSeeder.php +++ b/database/seeders/PermissionsTableSeeder.php @@ -796,5 +796,30 @@ public function run() ], ]); + $premission = [ + 'view_user', + 'view_any_user', + 'create_user', + 'update_user', + 'restore_user', + 'restore_any_user', + 'replicate_user', + 'reorder_user', + 'restore_user', + 'delete_user', + 'delete_any_user', + 'force_delete_user', + 'force_delete_any_user', + ]; + + foreach ($premission as $key => $value) { + \DB::table('permissions')->insert([ + 'id' => $key + 112, + 'name' => $value, + 'guard_name' => 'web', + 'created_at' => '2023-06-25 18:53:30', + 'updated_at' => '2023-06-25 18:53:30', + ]); + } } }