Break vault root bug into commit-sized todo items

This commit is contained in:
Joe Julian
2026-04-13 06:59:55 -07:00
parent e8a48fb7aa
commit 32e6fc6c90
+19 -3
View File
@@ -9,9 +9,25 @@ The product is not complete until the global exit criteria at the end of this fi
## Priority Bugs ## Priority Bugs
- Vault root view bug: - Vault root view bug:
stop leaking the physical `keepass` storage root into user-facing group lists add failing behavior tests for explicit `Vault`, `VaultRoot`, and
and API-facing logical paths by introducing explicit `Vault`, `VaultRoot`, `VaultRecycleBin` datastore views, including `keepass` path translation and
and `VaultRecycleBin` datastore views. recycle-bin projection.
- Vault root view bug:
introduce explicit `Vault`, `VaultRoot`, and `VaultRecycleBin` view factories
in `internal/vaultview` and move hidden-root behavior out of UI heuristics.
- Vault root view bug:
update `internal/appstate` and entries/recycle-bin UI plumbing to use
`VaultRoot` and `VaultRecycleBin` instead of raw datastore paths.
- Vault root view bug:
update gRPC/API-facing datastore reads and writes to use logical `VaultRoot`
paths while keeping authorization on canonical `Vault` paths.
- Vault root view bug:
add API-token path translation helpers so token editing, approval prompts, and
audit/resource display stop leaking the physical `keepass` root.
- Vault root view bug:
ensure vault create/open maintains the physical `keepass` storage root,
lazily creates recycle-bin structure when needed, and warns when opening a
legacy vault that had to be normalized.
## UI Review Follow-Ups ## UI Review Follow-Ups