Laravel Filament: Separate Dashboard for User Roles?

preview_player
Показать описание
I'm answering a question about Filament: how to customize the dashboard widgets per different user roles.

- - - - -
Support the channel by checking out my products:

- - - - -
Other places to follow:
Рекомендации по теме
Комментарии
Автор

From what I’ve seen online, Filament is far better than nova. We made the mistake of using Nova as an admin panel for big clients. It starts to fall apart when you have complex relationships and column types. Looks like with filament solves some of that.

wadecodez
Автор

Thank you for your videos. Based on the documentation, you can use Laravel policies to manage this. You can also utilize scopes to restrict user access to different sections of the dashboard.

KiaBoluki
Автор

i am your biggest fan sir if i got any problem i saw your videos for solution thank you for solving all my problems

devkumarverma
Автор

didn't dig in the code, but i hope that "canView" method will not fire the "getCards" in order to avoid querying the database, not just a visibility option. Anyway another great video, thanks!

giacomogaravaglia
Автор

How do i prevent an ordinary user from logging into admin dashboard?

paschalokafor
Автор

Great video, Thanks! I have a question, is it possible to create a laravel project where we will have one administrator and for example 1000 users who will use the same application but each user has his own database. I started to read doc Tenancy for Laravel but I think that is big challenge for laravel? Could you please give me some advice, and what do you think about that?

nikolaWd
Автор

i am wonder if i can filter table by user id. for example i need user id = 3 show only postes created by user id = 3 ?

Mohamadkhalaf
Автор

How can i implement canView() function if i am using spatie laravel permission?

pokemoon
Автор

Alongside Livewire/fillament, inertia vue is popular, If you create an video about create different dashboard using laravel, vue inertia js would be great. thanks

fftfaisal
Автор

Good morning. Can you please share the repository for the project2 sample you mention in the video? I did a search online but cant find it. Thanks For your help

roberttrivino
Автор

I learnt to use filament a month ago,
I Have a doubt
How can we implement breeze auth with filament admin auth
as in There's a field named 'is_admin' in the user model now if the user is 'is_admin' only then the user can acess '/admin' of filament else he cannot access the filament panel routes.

darshanbhandary
Автор

i am currently working on a project with filament and one issue that faced me was trying to validate a combination of two columns
$table->unique(['user_id', 'year_id'])
how to do that in filament ?
i did it in a mutateStateBeforeSave() and if it's not unique i send back a notification
but i think it's not a best practice is there is cleaner way or something i am missing 🤔

tgames
Автор

Can i use filament for frontend pages outside of the dashboard ? if so how

tgames
Автор

I wonder how we can do this in Filament 3 with the new multiple panels setup

JamesAutoDude
Автор

In build packages are really great. But when comes unaccepted requirements then it's so difficult to solve them

nilanjanchakraborty
Автор

just finished your course about filament. i have a question. how to create custom page? like 1 page only for "setting". only for change the website title, phone number, or email. tried to read the doc, but still confusing

asovx
Автор

would going for multi-tenancy to achieve this for say 1000 users be an overkill?

michaelmagero
Автор

I want to disabled the default widget dashboard of filament. I have seen documentation but it's not working. What to do please suggest?

sabinmagar
Автор

hello sir, can you please make us a video about laravel 10 and php voyager ? I need to know asap is it doable because it didn't work with me and thank you

classicgames
Автор

Hello, I have a question, I hope you can help me:
How can I present only the data associated with the user?
For example, if a user belongs to a department, only records related to the department to which the user belongs will appear.

Mr.null