From 701f46f27ed3e0c7009807407b18fdb61e001ab8 Mon Sep 17 00:00:00 2001 From: Ron Cohen <744+roncohen@users.noreply.github.com> Date: Sat, 28 Nov 2026 18:16:04 +0000 Subject: [PATCH] docs: note that bootstrap exposes the server context to the browser --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8e8d667..c4ceed7 100644 --- a/README.md +++ b/README.md @@ -155,9 +155,10 @@ with Client() as client: bootstrap_json = json.dumps(bootstrap) # Embed this in the page. ``` -Bootstrap state includes only flags that aren't marked secret in Reflag, plus the context -you bound. Bind only context that is safe to show in the browser. Getting bootstrap -state doesn't record flag checks. +Bootstrap state includes only flags that aren't marked secret in Reflag, plus the full +context you bound, so every user, company and other attribute in it is visible to the +browser. Bootstrap with a context that contains only what the client may see. Getting +bootstrap state doesn't record flag checks. ## FastAPI