Admin panel resources
Can resources created in admin panel be accessed without the admin route, forexample i created districts and to access districts i can go to myapp.test/districts instead of myapp.test/admin/districts. or how can cruds/resources be shared by both admin and no admins?
9 Replies
You always need an authenticated user for Filament.
If you want FORM and TABLE builder outside admin panel, then you can install and use it, but you need separate URL (note: I thought you want the form and table outside admin)
i wanted to use the resource function to generate forms and table using the model like this php artisan make:filament-resource District but i was wondering if it can work without installing the admin panel
and I was wondering if that resource can appear outside admin..
no
okay, i guess i will use spartie permission to hide some tables/resources created. can i use spartie to hide the delete button only?
I'm moving the whole application that has been running for years into filament, so i cant create tables and forms one by one, the generate resource functionality will help a lot and the wizard
Yes. Use a Policy or
->visible()
on the button itselfThank you so much everyone .. thank you @Dan Harrin for this amazing app. lastly, let say i have superadmins, and admins, can i have myapp.test/superadmin and myapp.test/admin to have different views and tables? but all created by filament?
You might wanna explore #multi-context
let me look into it. thanks