Wow , A very good detailed and concise explanation . This is the best multi-auth laravel 11 breeze tutorial😊.Thankyou so much!! Please make on roles and permissions using laravel 11. A new subscriber 😊😊❤
Could you create a tutorial on how to create roles and permissions that are saved in a database? You can add permissions to a table, and those are the only ones you'll see in the UI. It's like each user role's access is driven by the database.
Aren't gates/policies the preferred way to go when creating authorization in laravel? The middleware way you did it obviously work as well but I think their docs pretty much recommend policies for any medium/large sized projects.
What about using the same admin section for the admin and super admin. But set role and permissions to what they can access and perform. Like the super admin can create new admin account from the admin section. But the normal admin account can not see the view and not be able to perform same action
Yes we can achieve this by defining permissions for every role. Then based on the role and permission you can perform the required operations. Very soon I will make a separate video on Roles and Permissions.
This is one of the way to manage multiple authentication using a single users table. However there is one more way by creating multiple tables just like users, admins, and other user roles. Thereafter you will have to update the auth guards respectively. Very soon I will upload that video as well.
I was having trouble in implementing this feature, then I found your video and you know what it worked like a charm.
Thanks for sharing Sir 🙏
Thank you very much for your valuable feedback. Glad it helped you. 🙏🙏
For ease of importing classes, install the Namespace Resolver extension
Yes that's a good way to do auto import.
Very Nice , Informative and Easy to understand . thank you so much
You're welcome.
Wow , A very good detailed and concise explanation . This is the best multi-auth laravel 11 breeze tutorial😊.Thankyou so much!! Please make on roles and permissions using laravel 11. A new subscriber 😊😊❤
@@abrahamkamau2282 Thank you so much for your valuable feedback
Thank you for your knowledge bro, it really helped me.
greetings from Indonesia🙏
Could you create a tutorial on how to create roles and permissions that are saved in a database? You can add permissions to a table, and those are the only ones you'll see in the UI. It's like each user role's access is driven by the database.
Thank you very much for your valuable feedback and suggestions for the video. Definitely will make a separate video on it. ☺️
very straight forward and well explained, i love it
@@codingwithjoe Thank you 😊
Aren't gates/policies the preferred way to go when creating authorization in laravel? The middleware way you did it obviously work as well but I think their docs pretty much recommend policies for any medium/large sized projects.
@@nasko235679 Yes, that is also recommended. The choice is yours, either use middlewares or gate/policies
Good Explanation 👍
Thank You Man!
@kbdschool you're welcome.
What about using the same admin section for the admin and super admin. But set role and permissions to what they can access and perform. Like the super admin can create new admin account from the admin section. But the normal admin account can not see the view and not be able to perform same action
Yes we can achieve this by defining permissions for every role. Then based on the role and permission you can perform the required operations. Very soon I will make a separate video on Roles and Permissions.
@@programmingfields thanks so much. I will be grateful if you do so. Hopefully soonest
@@Gift-op6mq you're welcome
make a videos for multi-auth using spatie role and permissions using CRUD ? can add permissions using crud, please
Thank you for your suggestion. Yes, very soon I will make a series on these all functionalities.
This video help me lots
Thank you
is this the best practice sir?
This is one of the way to manage multiple authentication using a single users table. However there is one more way by creating multiple tables just like users, admins, and other user roles. Thereafter you will have to update the auth guards respectively. Very soon I will upload that video as well.
thanks sir u solve my problem
Glad to know it helped you 🙂
thanks bro
You're welcome
Thank u
🙏🙏
Up