Possible to apply default security filter on given index? #5472
Answered
by
Haroenv
landermedia
asked this question in
Q&A
-
According to User-restricted access to data guide, you can limit to a subset of data but that means you have to generate this secured API key and use it to make it work. Is it possible to apply the given filter |
Beta Was this translation helpful? Give feedback.
Answered by
Haroenv
Feb 6, 2023
Replies: 1 comment 5 replies
-
You wouldn't know what that |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
landermedia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You wouldn't know what that
currentUserID
is in the settings, as that is only available in your frontend/backend logic. You should instead generate a secured api key when the user is loading the page, and use that for InstantSearch