Closed ViolanteCodes closed 2 years ago
I removed the comment in the source code.
I disagree that it's secure to use the token on the client-side if it is read-only. Any draft data can contain any private notes and you can't leak users' data from ButterCMS to the public.
There are 2 ways of search implementation on the client-side:
@orlyohreally I've moved this onto a separate board I'm keeping for "things for farther review later"?
I disagree that it's secure to use the token on the client-side if it is read-only. Any draft data can contain any private notes and you can't leak users' data from ButterCMS to the public.
I agree but since we define preview mode via env variable the builds for draft versions and published ones are going to be two different apps so it's the user who will need to make sure that their 'preview' app is available only to restricted users. Do you agree?
Closing as note has been removed and underlying issue to be analyzed has been moved to another board