Policies (permissions) | Laravel 10 Tutorial #37

Sdílet
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

Komentáře • 27

  • @kokojoko-jr2kk
    @kokojoko-jr2kk Před 10 měsíci +3

    Amazing course, looking forward for more episodes.

  • @agneldominique352
    @agneldominique352 Před 10 měsíci +1

    ...tutorial on gates and permissions are very important.. Thanks

    • @yelocode
      @yelocode  Před 10 měsíci

      Thanks for watching.

  • @LoneTaha
    @LoneTaha Před 4 měsíci +1

    the best cource for laravel I found!

  • @user-vi2fp6dl7b
    @user-vi2fp6dl7b Před 8 měsíci

    Thank you very much!

  • @viralshah2058
    @viralshah2058 Před měsícem +1

    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.

    • @yelocode
      @yelocode  Před měsícem

      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.

  • @durgeshupadhyaya6870
    @durgeshupadhyaya6870 Před 10 měsíci +1

    Sir can you make tutorial on realtime chating app and notification using laravel livewire and websocket?

  • @zafererkan7070
    @zafererkan7070 Před 10 měsíci +1

    Thank you for the series. Can you teach observer, event, listener, telescope package please

    • @yelocode
      @yelocode  Před 9 měsíci +1

      Thank you for watching. I'm definitely planing to cover those topics either in this course or as separate stand alone tutorials.

    • @YazlmAkademi-sr6zg
      @YazlmAkademi-sr6zg Před 9 měsíci

      i have just finished the course. if you allow can i convert to Turkish language for my channel. for video series@@yelocode

  • @eramitgupta271
    @eramitgupta271 Před 10 měsíci +1

    Can you make a video on Laravel Livewire 3 security??

    • @yelocode
      @yelocode  Před 10 měsíci

      Will try to cover that

  • @yellowmay2011
    @yellowmay2011 Před 2 měsíci

    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?

    • @drolaticdemiurge1137
      @drolaticdemiurge1137 Před 17 dny

      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

  • @ousssika5359
    @ousssika5359 Před 10 měsíci +1

    thanks man

    • @yelocode
      @yelocode  Před 10 měsíci

      Thanks for watching.

  • @jaylylz1921
    @jaylylz1921 Před 8 měsíci +1

    have you already done a video on multitenacy? if not,Iam requesting you do one for it?

    • @yelocode
      @yelocode  Před 8 měsíci

      Don't have a video yet, but will try covering it

  • @HamadAbdulla_7
    @HamadAbdulla_7 Před 10 měsíci +1

    thanks

  • @Mr.Capone-
    @Mr.Capone- Před 10 měsíci

    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?

    • @daffar9800
      @daffar9800 Před 10 měsíci

      are u already solved this bug?

    • @yelocode
      @yelocode  Před 10 měsíci

      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.

    • @Mr.Capone-
      @Mr.Capone- Před 10 měsíci

      @@yelocode Выпью за ВАС!))) и за следующее