1. DevTools โ Application โ Cookies: set role=admin for this origin. Why: the page reads your access level from a browser-stored cookie you control; the server never verifies it.
2. DevTools โ Application โ Local Storage: add debug = 1. The HTML comment ZGVidWcgPSAx... base64-decodes to debug = 1. Why: client-side feature flags are just data in your browser.
3. Reload โ both checks pass and the flag appears.
Lesson: never trust client-controlled values for authorization.