# Need Help Regarding Multi User App

**URL:** <https://forum.bubble.io/t/need-help-regarding-multi-user-app/201192>\
**Category:** Database\
**Created:** [April 8, 2022, 9:41am UTC](https://forum.bubble.io/t/need-help-regarding-multi-user-app/201192 "2022-04-08T09:41:27Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![it110](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@it110](https://forum.bubble.io/u/it110)\
**Post date:** [April 8, 2022, 9:41am UTC](https://forum.bubble.io/t/need-help-regarding-multi-user-app/201192/1 "2022-04-08T09:41:27Z")

</div>

Hi everyone,

I am making an app where there are 3 Users. (User A, User B and User C) i just want that if user A and B submit some entries in the database then they can only view their entries but User C can see both User A and B entries. How can i accomplish it a little help regarding this matter will highly be appreciated.

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [April 8, 2022, 10:30am UTC](https://forum.bubble.io/t/need-help-regarding-multi-user-app/201192/2 "2022-04-08T10:30:12Z")

</div>

Hi there, @it110… there are a number of ways to do what you described, but in the end, you will almost certainly want to control access to the data with privacy rules.

Without knowing exactly what your app does, one way you could go is to have a field on the `User` data type that stores a list of users (let’s call this field `friend list`), and each user would be allowed to access the data created by the users in their list. So, in your example, User A’s and User B’s `friend list` fields would be empty, but User C’s field would contain User A and User B.

With that setup in place, you would be able to create a privacy rule on any data type that allows access to the data when `Current User's friend list contains This Thing's Creator`, and you should be good to go. Make sense?

Hope this helps.

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![it110](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@it110](https://forum.bubble.io/u/it110)\
**Post date:** [April 8, 2022, 10:42am UTC](https://forum.bubble.io/t/need-help-regarding-multi-user-app/201192/3 "2022-04-08T10:42:23Z")

</div>

Ok thanks ill check

---

<div class="post-metadata">

**Author:** ![it110](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@it110](https://forum.bubble.io/u/it110)\
**Post date:** [April 8, 2022, 12:45pm UTC](https://forum.bubble.io/t/need-help-regarding-multi-user-app/201192/4 "2022-04-08T12:45:20Z")

</div>

Hi mike I’m a little bit confused can u explain me graphically because I’ve created the field friend list but cant understand this one clearly.  
**"So, in your example, User A’s and User B’s friend list fields would be empty, but User C’s field would contain User A and User B."**

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [April 8, 2022, 12:51pm UTC](https://forum.bubble.io/t/need-help-regarding-multi-user-app/201192/5 "2022-04-08T12:51:31Z")

</div>

I’m not sure that screenshots are going to help (yet). It’s more of a question for you about how you define in your app that User C can access data created by User A and User B. Do users grant access to other users through an interface in the app? Or are you going to do it on the back end (i.e., in the editor)?

Taking a big step back, are you familiar with list fields and how you add items to a list?

---

<div class="post-metadata">

**Author:** ![it110](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@it110](https://forum.bubble.io/u/it110)\
**Post date:** [April 8, 2022, 1:01pm UTC](https://forum.bubble.io/t/need-help-regarding-multi-user-app/201192/6 "2022-04-08T13:01:53Z")

</div>

![image](https://us1.discourse-cdn.com/bubble/original/3X/1/1/116788ef3ccd63b58410660801d6b77f72b0e6cb.png)  
This is my simple app i just want if user A logins in to the app then he can see only his entries same to user B but when User C logins then he can see all the entries of both users(A&B).

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [April 8, 2022, 1:12pm UTC](https://forum.bubble.io/t/need-help-regarding-multi-user-app/201192/7 "2022-04-08T13:12:33Z")

</div>

Sorry, but you literally gave me no new information, and you didn’t answer any of my questions. Anyway, here’s a screenshot of a list field in the `User` data type that would be part of the suggestion I wrote in my original response.

 ![list](https://us1.discourse-cdn.com/bubble/original/3X/1/7/176adb148f7de63eef9c0d54e86f02414072c73c.png)

I can’t imagine how that screenshot could be helpful if you don’t understand lists and if you haven’t figured out how you might populate that list for each user, but well, it’s something.

Also, keep in mind that I was only giving you a suggestion as to how you might approach the situation that you only vaguely described. There are plenty of other ways to go… for example, users could be in departments, and you could have privacy rules around departments.

---

<div class="post-metadata">

**Author:** ![it110](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@it110](https://forum.bubble.io/u/it110)\
**Post date:** [April 8, 2022, 1:22pm UTC](https://forum.bubble.io/t/need-help-regarding-multi-user-app/201192/8 "2022-04-08T13:22:47Z")

</div>

Im sorry mike but i dont know about List basically im a newbie here and i dont know where to start to build just simple application.

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [April 8, 2022, 1:24pm UTC](https://forum.bubble.io/t/need-help-regarding-multi-user-app/201192/9 "2022-04-08T13:24:52Z")

</div>

Have you worked through Bubble’s tutorials? Bubble is not the easiest platform to learn, and it’s pretty important (in my opinion) that you start with a good understanding of the basics. So, if you haven’t done those tutorials, I would take a step back and work through them before jumping right in to building your app.

---

<div class="post-metadata">

**Author:** ![it110](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@it110](https://forum.bubble.io/u/it110)\
**Post date:** [April 8, 2022, 2:09pm UTC](https://forum.bubble.io/t/need-help-regarding-multi-user-app/201192/10 "2022-04-08T14:09:29Z")

</div>

ok let me go through the tutorials first.

---

<div class="post-metadata">

**Author:** ![it110](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@it110](https://forum.bubble.io/u/it110)\
**Post date:** [April 14, 2022, 1:10pm UTC](https://forum.bubble.io/t/need-help-regarding-multi-user-app/201192/11 "2022-04-14T13:10:43Z")

</div>

Hi Mike,  
I ve gone through almost all tutorials and create a list now with the name of trusted users and add users in that list and also created a privacy rule for that but the data is not shown in my repeating group ive also attached screen shot for your reference.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/b/7/b746cc733a03e51da0f04a283571a6ef8e3fda51.png)  
for privacy rule  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/6/f6317f02c753573b133ada0fd4684d47e2b54224.png)

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [April 14, 2022, 1:50pm UTC](https://forum.bubble.io/t/need-help-regarding-multi-user-app/201192/12 "2022-04-14T13:50:59Z")

</div>

Congrats on getting through the tutorials… it really should help. It might be [this](http://forum.bubble.io/t/new-ish-to-bubble-and-not-seeing-user-data-you-are-expecting-to-see/200842) that is getting in the way now, so check it out and see if that is the case.

---

<div class="post-metadata">

**Author:** ![it110](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@it110](https://forum.bubble.io/u/it110)\
**Post date:** [April 14, 2022, 2:31pm UTC](https://forum.bubble.io/t/need-help-regarding-multi-user-app/201192/13 "2022-04-14T14:31:01Z")

</div>

Yes i have followed your instruction but it shows all the data now not specific to user.  
i wrote this expression i dont know what iam doing wrong please guide me.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/9/6/96d6a7d9a619cafe87ece796ece76842f6104738.png)

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [April 14, 2022, 2:32pm UTC](https://forum.bubble.io/t/need-help-regarding-multi-user-app/201192/14 "2022-04-14T14:32:27Z")

</div>

If you are willing to share a link to your editor, send a link over (privately), and I’m sure we can get it figured out.

---

<div class="post-metadata">

**Author:** ![it110](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@it110](https://forum.bubble.io/u/it110)\
**Post date:** [April 14, 2022, 2:46pm UTC](https://forum.bubble.io/t/need-help-regarding-multi-user-app/201192/15 "2022-04-14T14:46:39Z")

</div>

Thanks but i think i got it now i added the user in trusted user and now i got their entries only and added both users (User1 &2) in other user so i got their entries only.  
Thanks soo much for your help 🥰 😊
