allow unauthenticated users read only access to resource
I have a couple of resources that I want to allow unauthenticated users to access. How can I define certain pages withing filament to allow guest access?
40 Replies
if I cannot do it on a resource level could I do it on a per panel basis and put all my guest views within a specific panel and have a seperate panel for authenticated users?
Filament requires an authenticated user. For guest pages you would just use normal Laravel routing and views.
A normal Laravel page is of no help. I need to allow gues access to view an actual filament resouce. So I guess my only option is to not use Filament then and just make eveything custom. Seems like a MASSIVE oversight
Since they want to claim to be something more than just an admin panel
It’s trivial to make a view and use forms and tables without a panel.
You can even use a lot of the filament blade components to keep a consistent look.
They are documented.
so I have to rtecreate filament to do what filament won;t allow me to do for no specific reason?
got it
clearly its still just inteded as an admin panel
There is a specific reason, policies don’t work without an authenticated user. That’s a laravel thing. Not a filament thing.
not a whole app framework
there are no policies
There are defaults for the policies that protect resources.
Ok But that still dosen't mean that FIlament couldn't provide a way to define guest access that just does not apply that policy
Also BTW Laravel DOES support guests in policies, and has for awhile: https://laravel.com/docs/5.7/authorization#guest-users
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
Feel free to submit a PR.
Because I have time to figure out the structure of a lrage package and PR a basic feature you didn;t already include. No thanks I am just not going to use FIlament problem solved because again you're still obliviously just and admin panel
v3 has not lived up to its promises
Why are you so hateful? You dont like free software? Go do it all from scratch
If I wanted your opinion I'd fucking give it to you. I'm not the one who releases something and misrepresents it to the public.
Be useful and submit a PR you are just like a feminist
The time it would take to do their job for them, I can just make my app without filament. I think i'll do the latter asshat
Making a free software is not a paid job, so its not their job. Why don't you make something free and spend your useless time?
Thats what github sponsors is for, so they DO get paid
I don’t get a cent from anything related to Filament.
Don't ban me, but we need new world war to clean the world from people like him. Putin aint wrong
They are just frustrated. If they don’t want to use Filament then I wish them well and thanks for giving it a go.
Neither do I so why should I take my time to learn the inner workingings of Filament just to submit a PR to make filament do what it should already sdo if it was what you claim it to be
Yeah, I used Splade which is also great but I am switching to filament since community is bigger.
Whether Filament should do something you want it to do doesn’t mean it’s something that it should do.
While we talk here, could filament be rendered within iconic? @awcodes
if you don;t want it to do that then fine but don;t go lying to people telling them its more than just an admin panel when its clearly not by any measurement.
It is more than an admin panel. You can build an entire SaaS with it.
after how many PRs?
I’m even replacing Wordpress with it.
What do you expect it to run a tesla out of the box?
You can also use the packages independently of each other in any laravel app.
So you don’t even have to have an “admin” panel.
go do it manually instead of arguing
I think you’re just trying to use the panels package for things it wasn’t designed for.
I've read something about not publishing views and doing everything in app part. How can we change structures to some components like sidebar?
You can’t change structure without changing a view. If you’re at that point of customization where you can’t do it with css, then you have to accept the risk of breaking changes in views or ditch the panel and make your own layouts and use the packages stand-alone.
There’s a lot of people who don’t use the panels at all. It’s pretty easy to throw a table, form, etc onto a livewire component.
I guess thats right, I am new to livewire as well used inertia with splade long time so I thought the package would be active but lately its so limited that you can't even do your custom stuff. Is it possible to add custom livewire components into panel?
Would like to convert my inertia component to livewire and add it to panel or even as a plugin for chat?
Yep. Look up custom fields or layout components in the docs. And you don’t have to recompile them because they aren’t Vue. 😜
Is that in infolist builder?
Docs are little too wow for starting 😄 cant find where i am 😄
Info list would be a custom entry. But basically any you can supply a blade file as a “view” you can have livewire components in that blade file.