1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 18:23:31 +00:00
Files
browser/apps/web/CLAUDE.md
Mick Letofsky e14c8c6a9c [PM-26337] Create a Claude markdown file (#16676)
* Initial claude markdown with lots of help from the team.
2025-10-03 16:48:01 +02:00

14 lines
652 B
Markdown

# Web Vault - Critical Rules
- **NEVER** access browser extension APIs
- Web vault runs in standard browser context (no chrome._/browser._ APIs)
- DON'T import or use BrowserApi or extension-specific code
- **ALWAYS** assume multi-tenant organization features
- Web vault supports enterprise organizations with complex permissions
- Use organization permission guards: `/apps/web/src/app/admin-console/organizations/guards/`
- **CRITICAL**: All sensitive operations must work without local storage
- Web vault may run in environments that clear storage aggressively
- DON'T rely on localStorage/sessionStorage for security-critical data