I just started using Bubble two weeks ago.

I’ve seen a question a few times, about how to pre-populate data in a new User’s account.

I did this by giving new Users a guest_list to a read_only project.

  1. Add the field guest_list (list of Users) in the Project data type.
  2. Add the field read_only (yes/no) in the Project data type.
  3. Set a Condition to disable the inputs if read_only = “yes”
  4. Add a Project in the admin account (“Campus Canines”), fill it out, and make it read_only.
  5. Every time a new User is created, they are added to the guest_list for “Campus Canines.”
  6. Every time a User creates a Project, they are added to its guest_list.
  7. Projects check to see if a User is on the guest_list (rather than using “Created by”).

“Campus Canines” shows up every user’s first project, as soon as they sign up.

Check it out here: https://PitchToLaunch.com

I’m sure there are better ways, but this seems to work. Have you seen a different way to do this?

Instead of a list of users, you can just add a list of text (unique id of the user) to the project list.

We would personally set up a permission table, which allows to expand on permission levels if needed.

The latter would be more recommended!

1 Like