You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that we can define a validation function for updates in replication. But what about find/select queries?
I am wondering if is it possible to put mandatory filter to all _find queries eg: filter password field from person documents? or put automatic filter to show only that user's documents.I don't want a user be able to see other user's documents in the same collection.
It was great if we could have a hook/middleware/validation function for each _find/select queries.at least we could disable this queries for some users then we could use replication and for select queries we could develop own api.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I know that we can define a validation function for updates in replication. But what about find/select queries?
I am wondering if is it possible to put mandatory filter to all _find queries eg: filter password field from person documents? or put automatic filter to show only that user's documents.I don't want a user be able to see other user's documents in the same collection.
It was great if we could have a hook/middleware/validation function for each _find/select queries.at least we could disable this queries for some users then we could use replication and for select queries we could develop own api.
Beta Was this translation helpful? Give feedback.
All reactions