Optimising my privacy expression as I may end up with hundreds of rules otherwise

I’ve got an app where if a user has X a field in their profile, and this matches with X on a field in the databases, the app will show them the data.

I’ve figured out a way to enter this as an expression:

“Current User’s Name is APPLE and This Database’s Name is APPLE” = Show Data

The issue I have is that I might end up hundreds of these names, and therefore hundreds of these expressions to enter per privacy rule in each database. Is there a limit to how many privacy rules I can enter? Or is there a better way to write out the above expression in the privacy tab so I don’t need to enter it for each new Name?

And you’re sure you can’t do Current User’s Name is This Database’s Name?

1 Like

Good suggestion, I’ll try that.

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