Apply EnforcesRoles trait in ProductResource and ProductSaleResource
Deploy / deploy (push) Successful in 16s
Deploy / deploy (push) Successful in 16s
Import was present but use statement inside class body was missing, so role checks had no effect on these two resources. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
fc5d1a65ae
commit
596d66b366
2 files changed
+4
No files matched your search
@@ -20,6 +20,8 @@ use Filament\Forms\Components\DatePicker;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
class ProductSaleResource extends Resource {
|
||||
use EnforcesRoles;
|
||||
|
||||
protected static ?string $model = ProductSale::class;
|
||||
|
||||
protected static ?string $navigationIcon = 'heroicon-o-arrow-up-on-square';
|
||||
|
||||
Reference in new issue
Block a user