Demo, all content is generated
Review request

Bolt dashboard for warehouse pick rates, is the anon key in the browser a problem?

Open · 57 views · asked by tomvibes · edited

Repo or live app

github.com/tomachterberg/pickrate-board

Unsure about: SecurityDeployment

Bolt built a dashboard on top of a pick_events table so our floor managers can see rates per shift. I opened the Network tab and the Supabase URL and anon key are sitting right there in the request headers. Our HR person is now asking whether anyone can read the table. I don't know how to answer that.

Comment
The anon key being visible is expected, it's meant to be public. The real question is whether pick_events has RLS on. Table Editor shows it next to the table name. mira_dev · edited
It says RLS disabled. So... anyone can read it? tomvibes · edited
Anyone with that key, yes, and probably write too. Enable RLS first, then add a select policy for the managers. mira_dev · edited

Activity

No answers yet. Helpers with matching specialties get notified after a day.