Flutter RBAC (Role Based Access Control)

Поділитися
Вставка
  • Опубліковано 26 січ 2025

КОМЕНТАРІ • 23

  • @bigjoe766
    @bigjoe766 2 роки тому +1

    Hey thanks. This has helped with my killer app that I'm trying to make. Trying to use this and Flavours for 3 Apps in one codebase. And I'm still in nappies when it comes to coding. Talk about uphill struggles. This has definitely solved some of the problems, even while trying understand it still. Many thanks 🙏

  • @cryptonautnitnot4836
    @cryptonautnitnot4836 2 роки тому +2

    Hi, I want to know about the cloud functions deployment..
    I am still on developing stage and wishing to test this RBAC out but get bummed when knowing that Google no longer let us use Cloud Function with Spark plan.
    Is there any alternative you may recommend sir?
    I found that not only your tutorial are on point and helpful, it is easy to understand.

    • @ExtraServingsBTS
      @ExtraServingsBTS  2 роки тому +1

      Hey, thanks for watching. Honestly, just upgrade to the Blaze plan. In development, my project never spent more than 10c / mo. There's a good video on the Firebase channel on how to set up billing alerts - I was paranoid at first, too, but honestly, 10c. Crazy cheap for what you get.

    • @cryptonautnitnot4836
      @cryptonautnitnot4836 2 роки тому +1

      @@ExtraServingsBTS Thank you for your kind reply.. I will do that. 10c sounds really cheap for headache free development. Will look for that billing alerts setup video and go from there.
      Keep up the great work! I'm subscribing, so I can follow your devs

  • @ExtraServingsBTS
    @ExtraServingsBTS  3 роки тому +1

    F50 drinking game: take a shot every time I say 'the fun part'

  • @familyfarmsforever
    @familyfarmsforever 2 роки тому

    This is great. Thanks! I already built a splash screen. Any idea where I'd add the SplashScreen() to ensure it's the background of both the Login and Register pieces of the app? I also have separate home screens depending on whether a vendor or a customer that I'd also want to take a user to when signed in. Where would I put those respective screens? Thanks for any thoughts.

    • @ExtraServingsBTS
      @ExtraServingsBTS  2 роки тому

      Hey Ryan, glad you found it useful. Just think of it like layers of an onion. What do you need to know first? Logged in/Anon probably. Then if logged in, what's the role? Etc etc.

    • @familyfarmsforever
      @familyfarmsforever 2 роки тому

      @@ExtraServingsBTS Thank you. Really enjoying Flutter/Dart as the first language that I've really stuck with over a signifiant period, but learning to program is hard! I will consider the onion analogy. Just not sure where to place my screen in the background of your login logic.

  • @cryptonautnitnot4836
    @cryptonautnitnot4836 2 роки тому +1

    Hi, it's me again..
    This has been bothering me for a week.
    I have cloned your app and making it null safety compliant.
    But even when there is no user recorded in the firestore/firebase, the first thing going to load is the member page.
    I wonder what I have done wrong with my code.
    I haven't even able to make the users with "admin" roles accessing admin page.
    I want to show you the code, how should I do that?

    • @ExtraServingsBTS
      @ExtraServingsBTS  2 роки тому

      hey there, Might be good just to have a page that replies with the role, for testing. One thing at a time. If all else fails, drop a link to a GitHub repo and I'll see what I can find. No guarantees - day job busy ;)

    • @cryptonautnitnot4836
      @cryptonautnitnot4836 2 роки тому +1

      @@ExtraServingsBTS Thank you for the kind reply. will do just that

  • @Magedfaiz
    @Magedfaiz 2 роки тому

    Great Video 👌👌

  • @XyticN
    @XyticN 3 роки тому +3

    hi im his son :) nathan

  • @samuelranger8952
    @samuelranger8952 3 роки тому +3

    Hi sir. This project is so awesome... 👍🏼
    Can you help me out with the admin signup?

    • @ExtraServingsBTS
      @ExtraServingsBTS  3 роки тому +2

      To sign up as the admin, you just need to go to stripe.com. To sign up as a vendor.... I have a video coming on that.

    • @samuelranger8952
      @samuelranger8952 3 роки тому

      @@ExtraServingsBTS Okay, thanks. I will do that now

    • @samuelranger8952
      @samuelranger8952 3 роки тому

      What I meant is how do I login in as the admin in the flutter RBAC tutorial you uploaded on UA-cam?

    • @ExtraServingsBTS
      @ExtraServingsBTS  3 роки тому

      @@samuelranger8952 Ah... thought I covered that. First things first, create an account BEFORE you lock down based on role. Then set yourself admin. Then lock it down. You can't set custom claims directly inside the firebase console. A pain, but that's how it works.

    • @nisarali1954
      @nisarali1954 3 роки тому

      @@ExtraServingsBTS Sir if explain with Firebase it v very better ....Any How Thank you Sir ...

  • @TOOLruls
    @TOOLruls 2 роки тому

    Hi i enjoyed the video a lot. But it never logins to admin, always member page. Great video.