# Privacy rules doesnt add up

**URL:** <https://forum.bubble.io/t/privacy-rules-doesnt-add-up/376205>\
**Category:** Need help\
**Created:** [July 17, 2025, 6:55pm UTC](https://forum.bubble.io/t/privacy-rules-doesnt-add-up/376205 "2025-07-17T18:55:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![christian\_bargmann](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/christian_bargmann/32/249775_2.png) [@christian\_bargmann](https://forum.bubble.io/u/christian_bargmann)\
**Post date:** [July 17, 2025, 6:55pm UTC](https://forum.bubble.io/t/privacy-rules-doesnt-add-up/376205/1 "2025-07-17T18:55:50Z")

</div>

hi guys im having a big issue with my privacy rules that i can get to work as i want to with one function

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/0/8/08086df2400728bd1bfb223c9699d1cd7b12d8d7.png)

when i have the ruleset like this im able to see the list of the employees there is registred to this user

but it also result in that when a new user gets created he other users personally data in his backoffice

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/e/d/ed8653edebbf37d7e3e18738f01301f3cb1970de.png)  
but when i then have this privacy rule instead the personal data for other users is hidden but im not able to see the list of employee the is added to the user and just get empty lines for them

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [July 17, 2025, 7:19pm UTC](https://forum.bubble.io/t/privacy-rules-doesnt-add-up/376205/2 "2025-07-17T19:19:45Z")

</div>

What are you trying to do?

If you want the User to only be able to see the Data (of that type) that they have created (as your privacy rule name implies) then the rule should be:

`this thing's creator is current user`

---

<div class="post-metadata">

**Author:** ![christian\_bargmann](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/christian_bargmann/32/249775_2.png) [@christian\_bargmann](https://forum.bubble.io/u/christian_bargmann)\
**Post date:** [July 17, 2025, 7:37pm UTC](https://forum.bubble.io/t/privacy-rules-doesnt-add-up/376205/3 "2025-07-17T19:37:18Z")

</div>

In this case its not a thing with a creator.. when a user sign up they have the option inside there backoffice to sign up user on behalf of other there then will be employees of the main user.. so they are listed on a field as current users employees..

But my issue is that i cant figure out how to define a privacy ruke there both protects the users data from other user in the db but also allow them to see the employees data

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [July 17, 2025, 7:49pm UTC](https://forum.bubble.io/t/privacy-rules-doesnt-add-up/376205/4 "2025-07-17T19:49:41Z")

</div>

Well, if it’s a list field on the User, you can use

`Current User's Employees contains This Thing's Employee`

---

<div class="post-metadata">

**Author:** ![christian\_bargmann](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/christian_bargmann/32/249775_2.png) [@christian\_bargmann](https://forum.bubble.io/u/christian_bargmann)\
**Post date:** [July 17, 2025, 7:54pm UTC](https://forum.bubble.io/t/privacy-rules-doesnt-add-up/376205/5 "2025-07-17T19:54:30Z")

</div>

What rule should i then use to protect users data for other user?

---

<div class="post-metadata">

**Author:** ![georgecollier](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/georgecollier/32/182327_2.png) [@georgecollier](https://forum.bubble.io/u/georgecollier)\
**Post date:** [July 17, 2025, 8:11pm UTC](https://forum.bubble.io/t/privacy-rules-doesnt-add-up/376205/6 "2025-07-17T20:11:06Z")

</div>

> [@adamhholmes](#):
>
> Current User’s Employees contains This Thing’s Employee

current user’s employees contain this user’s employees

The manual has some good guides on privacy rules and I recommend any videos by Matt Neary about them on Youtube.

---

<div class="post-metadata">

**Author:** ![tobixzybolumole](https://avatars.discourse-cdn.com/v4/letter/t/4bbf92/32.png) [@tobixzybolumole](https://forum.bubble.io/u/tobixzybolumole)\
**Post date:** [July 18, 2025, 4:17am UTC](https://forum.bubble.io/t/privacy-rules-doesnt-add-up/376205/7 "2025-07-18T04:17:56Z")

</div>

Once you have set a privacy rule, the data becomes hidden by default unless it matches a conditon you have set, then it can be seen  
You can simply use this condition, “when user’s invitee(employees) contains current user”, then you tick whatever option you want to be visible  
Another thing is how you are structuring your database, based on your explanation. I think the user datatype will have a datafield of a list of users(employees)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [September 25, 2025, 6:56pm UTC](https://forum.bubble.io/t/privacy-rules-doesnt-add-up/376205/8 "2025-09-25T18:56:38Z")

</div>

Closed on September 25, 2025, 6:56pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
