How To Create Multiple User Roles In Bubble.io (And Restrict Features)

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 มิ.ย. 2024
  • Are you building an app in Bubble that requires users to have different role types?
    Would you like to restrict certain features in your app to users with a specific role or permissions?
    In this video, you’ll learn everything there is to know about creating multiple user role types in Bubble. This includes 👇
    1. Understanding what roles and permissions are used for
    2. How to correctly set up your database to support multiple role types
    3. How to restrict features to users that have been granted permission
    4. How to allow admins to update the role type of each user
    ---
    ✍️ Access the working Notion doc here: lachlan-kirkwood.notion.site/...
    ---
    ⏱ Timeline: ⏱
    00:00 - Course overview
    00:34 - App preview
    02:22 - Setting up the database
    08:02 - Restricting features to specific roles
    15:11 - Updating a users role
    19:34 - Additional insights
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 22

  • @user-lc3jk2pg4m
    @user-lc3jk2pg4m 6 หลายเดือนก่อน +1

    Hey sir !!
    I have watched many videos on your channel and must say that you are posting a great content.

    • @BuildingWithBubble
      @BuildingWithBubble  6 หลายเดือนก่อน +1

      Genuinely appreciate it! Comments like this make my day 🙏

  • @eustacechigozie8947
    @eustacechigozie8947 3 หลายเดือนก่อน

    Thanks for this video, it is really very helpful. I wish you built from scratch the group and elements inside the repeating group at 8:40 or at least, clicked on them individually so that we could see their properties and follow along. I'm currently stuck there and can't find the right way. I'm entirely new to Bubble

  • @hardyfawei9673
    @hardyfawei9673 6 หลายเดือนก่อน

    Thanks

  • @user-xp3ik2rx3u
    @user-xp3ik2rx3u 4 หลายเดือนก่อน

    Great video, my question is if we're not creating a new data type to add team members and their info, how the system identify each members?

    • @BuildingWithBubble
      @BuildingWithBubble  4 หลายเดือนก่อน +1

      If you wanted to link members to a team, I'd recommend following these steps:
      1. Create a data type for a company. This will include information like the company name, logo, etc
      2. Add a data field under your user data type called 'team'. This data field should be linked to your company data type
      3. When a user invites someone to their team, you can also set the receiving users team to equal the same company as the first user
      Hope this helps!

  • @thinkjon
    @thinkjon 4 หลายเดือนก่อน

    Would it be more Secure to tie the Role Option Set with user permissions than Conditional Statements visibility?
    Second Question: When a Conditional Statement is NOT visible when the page loads, is that data brought over to the client side?
    I appreciate your help.

    • @BuildingWithBubble
      @BuildingWithBubble  4 หลายเดือนก่อน +1

      Great questions!
      1. Both option sets and conditions on page elements both render on the client (a users device, not the server), so I'm under the impression they'd have the same level of security.
      2. If you have a condition on a data search, it will stop it from being loaded from the server on page load.
      Hope this helps!

  • @YeyoOnTrip
    @YeyoOnTrip 4 หลายเดือนก่อน

    Hi, great explanation!! But I have an issue, only shows one item in the repeatinggroup User... And I don't know why....

    • @BuildingWithBubble
      @BuildingWithBubble  4 หลายเดือนก่อน

      Happy to help. Could you just double-check that your repeating group doesn't have a fixed number of rows.
      It could also be worth checking to see if you actually have multiple items in your database that meet the exact constraints in the data source of the repeating group.
      Hope this helps!

  • @mondliedwin4857
    @mondliedwin4857 หลายเดือนก่อน

    So if users have separate registration pages and data fields, for instance Company and Customer. Should I populate it in the same Data Type?

  • @user-zf4bd2sg8z
    @user-zf4bd2sg8z 3 หลายเดือนก่อน

    Hi this video helps a lot but I a struggling with the repeating groups with the users because it only allows me to set it up with current user and not parent group user so in the end it only shows one user. so can you explain to me how you set this up.

    • @BuildingWithBubble
      @BuildingWithBubble  3 หลายเดือนก่อน

      Glad it could help. And with the data source of your repeating group, you'll need to use the 'do a search for' option, then select that you want to search for all of the users in your database.
      Hope this helps!

    • @user-zf4bd2sg8z
      @user-zf4bd2sg8z 3 หลายเดือนก่อน

      @@BuildingWithBubble Yes thank this helped i also realized that i had a privacy rule on the data source and that's why it didn't want to work

  • @Jackanthonystudios
    @Jackanthonystudios 6 หลายเดือนก่อน +1

    Hey dude, I tried to reach out on the uber eats clone. I was wondering if you offered 1-1 services? I have questions in relation to tracking and willing to pay if needs be.
    Thank you Laughlan

    • @BuildingWithBubble
      @BuildingWithBubble  6 หลายเดือนก่อน +1

      Apologies for missing this! I'm just on holidays right now with my family. If you sent me an email, it's definitely in the stack I'm working through 😅

  • @davidnrickard2294
    @davidnrickard2294 4 หลายเดือนก่อน

    How many workload units would an app like this consume per month?

    • @BuildingWithBubble
      @BuildingWithBubble  4 หลายเดือนก่อน +1

      It'll depend based on all of the other features and workflows you've created. I'd recommend using the logs tool in your app to keep track of usage.

    • @davidnrickard2294
      @davidnrickard2294 4 หลายเดือนก่อน

      @@BuildingWithBubble perhaps a video short on these two topics can be made explaining them. The logs was another question I had regarding their pricing structure. Total Noob not knowing what “logs” are. Logins? Data Logs? Thanks for your work btw. Im neck deep into Bubble because of it.

    • @BuildingWithBubble
      @BuildingWithBubble  4 หลายเดือนก่อน

      @@davidnrickard2294 Happy to add these to my list! And the logs just keep a track of all of the workflow units your app consumes. You can find this in the left-hand menu within the Bubble editor under the settings tab.