Can't use User unique id for Privacy Rule?

Hi! Am trying to modify my app’s privacy rules, and noticed something interesting: Bubble doesn’t let you use the User’s unique id, in a Privacy rule.
Screen Shot 2022-04-19 at 7.55.16 PM

You can reference fields that you added to User, but built in ones like User ID or Created Date are unreferenceable.

This is a problem for my app, as I use the Unique ID inside another Data Type, and I’d like to make a rule related to this.

Is there anyway around this, or do I need to go back to set the reference directly to the User (instead of using the User ID)

Yup, @mm71593, you should do that. Is there a particular reason you used the unique ID in the other data type instead of directly referencing the user? I’m guessing there might be cases when that is beneficial/necessary, but all I can think of are the limitations it causes (like what you are running into now).

Best…
Mike

1 Like

That makes sense! I’ll add that then

1 Like