Policies (permissions) | Laravel 10 Tutorial #37
Vložit
- čas přidán 22. 09. 2023
- Laravel 10 Feed page
On this episode we take a look at Policies inside laravel, and easy way to manage permissions in your application
Playlist of Laravel 10 Tutorial Course :
• Laravel 10 Beginners C...
Boots Watch :
bootswatch.com/
Laravel debug bar:
github.com/barryvdh/laravel-d...
HTML template Github Link:
github.com/yelocode/bootstrap...
What is Laravel :
Laravel is a free and open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model-view-controller architectural pattern and based on Symfony.
en.wikipedia.org/wiki/Laravel
If you're looking to learn how to authenticate a user using Laravel 10, then this is the video for you! In this tutorial, In this tutorial, we'll create a simple registration form that users will be able to submit.
If you have any questions or problems please leave a comment.
Laravel Blade
Laravel crash course
Laravel Database and crud tutorial
Laravel Login and Authentication
Laravel registration
Amazing course, looking forward for more episodes.
Thanks for watching
...tutorial on gates and permissions are very important.. Thanks
Thanks for watching.
the best cource for laravel I found!
Thank you very much!
Great Course. I am very new to Laravel and learn lot many concept fundamentally.
God bless you. :)
I have to use Permission in very detail level in my next project.
So, should I use inbuild policy or use package like Spatie Package or any other package you can suggest?
Thanks in advance.
Thanks for watching. If you have a simple 2 role application, such as only admin and users. You can implement it yourself. But if you need something complex with both roles and permission using Spatie package is gonna save you a lot of time. It's a well tested package and almost everyone in the laravel community knows how to use it, so it's also great if you are working in a team.
Sir can you make tutorial on realtime chating app and notification using laravel livewire and websocket?
Thank you for the series. Can you teach observer, event, listener, telescope package please
Thank you for watching. I'm definitely planing to cover those topics either in this course or as separate stand alone tutorials.
i have just finished the course. if you allow can i convert to Turkish language for my channel. for video series@@yelocode
Can you make a video on Laravel Livewire 3 security??
Will try to cover that
What if you have separate Policy, say UserPolicy with a function update as well
It will clearly conflict with the one for Idea
Are there any standard practice in naming to avoid a situation like this? something like 'ideas.delete' like we can have using Gate?
as far as i understood, laravel will know based on the variable you pass into it
in this case, it understood it was the 'update' method inside de IdeaPolicy because $idea was being passed in
thanks man
Thanks for watching.
have you already done a video on multitenacy? if not,Iam requesting you do one for it?
Don't have a video yet, but will try covering it
thanks
You're welcome!
if you go to the profile editing page, and if you change the id in the url to another user, then he can edit the questionnaire. Did I miss fixing this bug, or does everyone have it like this?
are u already solved this bug?
No this is still an issue in the app, in the next episode will be using the policies topic to fix this and also add it for comments as well.
@@yelocode Выпью за ВАС!))) и за следующее