Skip to main content

Command Palette

Search for a command to run...

A feature flag is not authorization

Updated
•1 min read•View as Markdown
A
Practical lessons on auth, authorization, and access control.

A feature flag can hide a button or route a request to a new code path. It does not decide whether this user may read that customer record.

Treat flags as product rollout controls. After the flag check, still authorize actor + resource + action on the server against the real policy. A flag that turns on "admin tools" for everyone who hits the new build is a privilege bug waiting to ship.