30 Days to Learn Laravel, Ep 23 - 6 Steps to Authorization Mastery

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024

Комментарии • 20

  • @hamadbakeel1951
    @hamadbakeel1951 10 дней назад

    bro not only sacrificed his time and lifespan to make these videos, his sacrificed the tree branch too .
    Huge love and respect for what you're doing here Jeff .

  • @2gbeh
    @2gbeh 4 месяца назад +4

    Wait, how does the @can blade directive know which Policy's "edit" method to evaluate? Like what if there was also an Employee policy that also has an edit method that accepts $user and $job parameters??

    • @bicho44
      @bicho44 4 месяца назад

      I think you have different names for a different model, i this case its just one policy because is only the Job model, but i have to rewatch the episode, to be sure

  • @Md.NaimulIslam-m7d
    @Md.NaimulIslam-m7d 2 месяца назад +2

    i really really appreciate the effort u guys put in this videos
    thank u so much

  • @fakerealnews1
    @fakerealnews1 Месяц назад

    Thanks Jeff!
    It's insane how many Udemy courses charge a lot of money for content that teaches poor practices and ineffective methods for app development. In contrast, this resource is free and provides the right way to learn Laravel.
    Those so-called teachers should learn from the experts before spreading harmful practices and wasting people's time.

  • @chzmo
    @chzmo 3 месяца назад +2

    This is awesome Jeff. Much thanks😎

  • @aaronford8010
    @aaronford8010 20 дней назад

    Have you used Spatie for roles and permissions? Can you do a video on getting that set up?

  • @salemalmotiry3156
    @salemalmotiry3156 4 месяца назад +1

    Can you please upload the rest of the episodes? The Laracasts player keeps throwing errors, and I can't watch more than 2 minutes without it crashing.

  • @kyledoesdev
    @kyledoesdev 4 месяца назад +1

    I always forget about policies (I don't know how lol) - but I typically like to do things at the route layer or I in-line an abort_if(..., 403) in the endpoint or if the endpoint accepts a request, sometimes I do the check in the form request authorize() function in a custom form request.

  • @i.t.starters2019
    @i.t.starters2019 4 месяца назад +2

    I wanted to know how gates work for a long time, I will have to rewatch this episode a few times. But this is well explained.

  • @amir_hjr
    @amir_hjr 4 месяца назад +1

    Jeffrey what's your phpstorm theme?

  • @AbinashNathPandey-pt4ft
    @AbinashNathPandey-pt4ft 4 месяца назад +1

    After adding JobPolicy in route and show view, I can see edit button for my created job of authorized once but when I click edit button, I get 403 error.

  • @sale7680
    @sale7680 26 дней назад

    ❤❤

  • @amir_hjr
    @amir_hjr 4 месяца назад +1

    Jeffrey what's your phpstorm theme?

  • @sale7680
    @sale7680 23 дня назад

    Thank u 🙏

  • @mandjivatuva
    @mandjivatuva 4 месяца назад +1

    Great video Jeffrey once again I bow down.

  • @jihandiab4095
    @jihandiab4095 4 месяца назад +1

    thanks

  • @samuelakinnuoye9938
    @samuelakinnuoye9938 Месяц назад

    Who entered the room at 17:17 minutes 😂

  • @ahmad-murery
    @ahmad-murery 4 месяца назад

    Now, this is the most condensed yet informative episode so far, and I'll go for Policies as it looks nicer and fit most of my use cases.
    Thanks Jeff!