Authorization in Next.js is Easy! (RBAC)

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

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

  • @eskoonlysflow8004
    @eskoonlysflow8004 22 дня назад +7

    Can you make a video about this permission system but with own auth? Not Kinde?

  • @skverskk
    @skverskk 21 день назад

    Great tutorial Well explained and easy to follow.

    • @janmarshalcoding
      @janmarshalcoding  21 день назад

      Thank you for the kind words, means a lot to me! Anything you would like to see next?

    • @skverskk
      @skverskk 11 дней назад

      Unfortunately, Kinde only allows a max of 2 roles on the free tier. Clerk allows up to 10 roles on their free tier. It's a no-brainer. Can't develp and test RBAC on just 2 roles. Hello Cerk!!. Nonetheless, I will still continue watching your videos.

  • @v.demchenko
    @v.demchenko 19 дней назад

    Awesome explanation man, thx! Keep doing.

  • @superhumandose
    @superhumandose 22 дня назад +6

    Am sorry but this video is more of a Kinde ad than anything else, the best info is at the beginning before all the Kinde stuff

  • @ardianhotii
    @ardianhotii 23 дня назад +1

    Great video, what aboout for more advenced use cases like a user can create a post but can only delete their own post or comment , another use case in a collaboration project a user can create tasks and edit them, but only their own etc ...

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

    Very informative.. ❤

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

    Nice! How to link the permission to the object, like the owner of that object. Example: the user can edit a post only if he is the creator of that blog post

  • @memester6496
    @memester6496 22 дня назад

    can u make tutorial in complete guide on nextjs including role base and credential provider.

  • @JulioGarcia-yc3kl
    @JulioGarcia-yc3kl 23 дня назад

    Please add automatic translation when uploading your videos using the YT beta feature, thanks for the content ❤❤

  • @gümrahsindar
    @gümrahsindar 23 дня назад

    Shouldn't we do these permission checks from middleware instead of pages? This usage is okay?

    • @yowremco
      @yowremco 22 дня назад

      Got out hobbby projets, but in real life entreprise projects with years of development, hundred of views no one grants access or handles auth through if (!user)...

    • @mrlectus
      @mrlectus 13 дней назад

      middleware only runs on edge

  • @aymenbachiri-yh2hd
    @aymenbachiri-yh2hd 23 дня назад

    Thank you so much

  • @hashproton
    @hashproton 23 дня назад +1

    Now try to do this with supabase

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

    Hey bro! Need remix tips and tricks. RUclips is flooded with nextjs.

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

    Thanks

  • @OmarFaruk-bz4gw
    @OmarFaruk-bz4gw 23 дня назад

    ❤❤❤❤ Bangladesh

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

    why yo name be Marshal? is not typical german name

    • @janmarshalcoding
      @janmarshalcoding  22 дня назад

      Haha true. I have a very German name which you can’t really pronounce in English. That’s why it’s marshal

    • @mikoo1991
      @mikoo1991 22 дня назад

      @@janmarshalcoding hehe ok. i think ur a very funny guy, especially after you made a ironic side comment: who would have thought?
      keep on doing that, its great :D

  • @yowremco
    @yowremco 22 дня назад

    I don't want to be rude Jan since you seem like a goodd person andf probably targeting extreme beginners,. But i;ve come to the point that your vifdeos have goood subject, but are really tiring and slow. You talk a lot but say so litttle. Again not trying to be mean but you coulld really speed it up a bit tbh

    • @janmarshalcoding
      @janmarshalcoding  22 дня назад +2

      Thank you for your valid criticism. I understand what you mean, and I will try to adjust in the upcoming videos.

    • @mrlectus
      @mrlectus 13 дней назад

      @@janmarshalcoding please don't