User Roles | Bubble.io Tutorial

Поділитися
Вставка
  • Опубліковано 5 лют 2025
  • Creating user roles within your Bubble app is very straightforward. I'll demonstrate how I go about creating these roles using option sets in Bubble.
    ____
    Learn to Bubble
    buildcamp.io
    Join our no-code community
    community.buil...
    Buildcamp Studio no-code development agency
    buildcamp.io/s...

КОМЕНТАРІ • 22

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

    very good explanation! Congratulations Gregory

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

    Hi, is there a reason you use Option sets instead of having it as another data field under "Users"?

  • @oladele.k.afogunla9425
    @oladele.k.afogunla9425 3 роки тому

    How will do you do tie the other users to a certain users

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

    Nice, How can you apply that in the privacy rule where the condition ("Current User's RBAC's is Supervisor") and that the option "supervisor" comes from the Option sets list.

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

    Hey, how do you invite users to work on let's say "project" and they can edit the "task" in the "project". Invite a user to create an account and in their account, they also have access to your "project" and they can edit tasks from your "project" from their account. Just like google sheets/docs/drive basically.

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

      Hey did you every figure out how to do this?

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

      @@tenzinray2672 haven’t yet, close to it but no go. Been waiting for investment to further fund the project

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

    Hi. Thank's for this explanation but Bubble suggests that sensitive data (like who's got Admin powers) should not be defined with options set. What's your take on this ?

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

      User roles are not sensitive data. They are just plain text words. They are talking about things like email addresses, API keys which should be secured with privacy rules.

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

    Did they improve responsiveness of UI ?

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

      yes it got a complete overhaul and is really good now

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

    Hey,
    Is it possible to use bubble to allow my users to sign up, create a team, then invite people to their team and pay $ per seat?
    ie. that team will have user permissions ie. admins and normal users.
    Also allowing the users to brand their team with a logo.
    Anyone know how I might be able to achieve this with a no code tool?

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

      This is all definitely possible with Bubble. It's quite difficult to think of something that isn't, actually

  • @henkdevries9185
    @henkdevries9185 Рік тому

    This tutorial sucks. How do I get the Role item you show at 1:53? Where do I specify what each role can do?

    • @nocodelife
      @nocodelife Рік тому

      On the User data type you need to add a field called Role which is of type "Role" (i.e. the option set you created). Greg forgot to mention that part.

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

    After looking at all these videos you've made, this one has no value to it. One reason, you can make an option set with roles for a admin, manager or other all day. But you didnt show how to assign duties to those roles. You just showed a newbie way of adding an option to the database. Also, on my end.. When I follow your exact directions, Roles are nowhere inside my database for me to select.

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

      same here...this was not useful information..im still left figuring it out

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

      @@lovelivelaugh4542 You have to create an Option Set (via Data) and create different Options (each being a role user, like Admin). Then you have to create a field on the Data Type of User, which as a Field Type is this Option Set you just created. This means that each User can now be attributed one of these Options (just like they have a Username, which is a Text field). Now you have to actually assign an Option to individual users in your Database (go to Data/App Data/All Users -> select a User -> Modify Database entry -> edit the User Option Field and pick the desired Option you created earlier). The final step is to make this system work for you. Likely, this is through conditionals on data elements. For example, you only want certain elements to be visible if a User has a certain role. You can watch the tutorial above on how to do that (but it comes down to something like 'If current user's Option Set = A -> This element is (in)visible'). Hope this helps.

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

      @@remkomooi6040 Appreciate this reply so much. Went above and beyond. thank you