rupadana / filament-api-service

A simple api service for supporting filamentphp
https://filamentphp.com/plugins/rupadana-api-service
MIT License
95 stars 22 forks source link

[Question]: Hide token resource #17

Closed KevinShianto closed 5 months ago

KevinShianto commented 5 months ago

What happened?

Hi, appreaciate your plugins, its helping me in a lot of ways, but I have a question. Currently from the web perspective, I need to restrict some user from accessing the token page resources, how do I hide the token navigation?

How to reproduce the bug

Login using any user

Package Version

3.0

PHP Version

8.1

Laravel Version

10.10

Which operating systems does with happen with?

Windows

Notes

No response

rupadana commented 5 months ago

first thing i need to know, are you use filament-shield?

KevinShianto commented 5 months ago

first thing i need to know, are you use filament-shield?

yes correct

rupadana commented 5 months ago

okay, will be supported to publish the resources in next version

rupadana commented 5 months ago

@KevinShianto now you can publish the resource by executing artisan vendor:publish --tag=api-service-resource and modify the resource

update your package version to 3.0.4