inou/docs
James 6486a52ad9 refactor: complete RBAC redesign with hierarchical permissions
Simplify access control from 500+ lines to ~50 lines of core logic:
- New permission bitmask (PermRead/Write/Delete/Manage)
- Hierarchical access (dossier → category → entry)
- Single choke points: CheckAccess(), EntryQuery(), DossierQuery()
- All data access now enforced through lib RBAC layer
- Removed complex role templates and permission caching

Also improved NewID() to use UUID v4 + SHA-256 hash for better
randomness distribution (was limited to 0-7 hex start).

Net -210 lines across 28 files. Ready for staging deployment.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-11 00:06:02 -05:00
..
soc2 fix: genome query RBAC - use system context for data access 2026-02-07 16:31:17 -05:00
._.DS_Store Initial commit from dev 2026-02-01 08:03:12 +00:00
INTAKE_SYSTEM_SPEC.md Initial commit from dev 2026-02-01 08:03:12 +00:00
SCHEMA.sql Initial commit 2026-02-01 02:43:27 -05:00
SCHEMA_OLD.sql Initial commit from dev 2026-02-01 08:03:12 +00:00
TODO.md Initial commit from dev 2026-02-01 08:03:12 +00:00
anthropic-submission.md Initial commit from dev 2026-02-01 08:03:12 +00:00
api-design-2026-01.md Initial commit from dev 2026-02-01 08:03:12 +00:00
journal-system-2026-02.md feat: fix year interpretation, new schedule format, exclude today from backfill 2026-02-09 02:00:18 -05:00
mcp-usage-examples.md Initial commit from dev 2026-02-01 08:03:12 +00:00
prompts-ai-setup.md feat: add Terms of Service page and legal page updates 2026-02-08 04:59:59 -05:00
rbac-design-2026-01.md Initial commit from dev 2026-02-01 08:03:12 +00:00
rbac-redesign-2026-02.md refactor: complete RBAC redesign with hierarchical permissions 2026-02-11 00:06:02 -05:00
reference-mccalip-style.css Initial commit from dev 2026-02-01 08:03:12 +00:00
schema-auth.sql Initial commit from dev 2026-02-01 08:03:12 +00:00
schema.sql fix: genome query RBAC - use system context for data access 2026-02-07 16:31:17 -05:00
store-consolidation-plan.md Initial commit from dev 2026-02-01 08:03:12 +00:00
update-2026-01-19-portal-cleanup.md Initial commit from dev 2026-02-01 08:03:12 +00:00