TASK-003 Add secure assigned-folder browsing

This commit is contained in:
rob
2026-11-25 20:54:05 +00:00
parent 549f11d9f4
commit 68335d629b
14 changed files with 520 additions and 300 deletions
+3 -1
View File
@@ -50,7 +50,7 @@ The scopes below translate Captain's explicit product requirements into implemen
### TASK-003: Secure folder browsing for assigned users
- Status: Accepted; not started.
- Status: Complete. Captain accepted TASK-003 on 2026-11-25 and authorized the local commit and merge into `codex`.
- Objective: Provide a usable browser rooted in each user's authorized directory without exposing real server paths.
- Scope: Replace/adjust browsing API to return virtual paths or opaque IDs, list only authorized child folders/files and their safe metadata; wire navigation/breadcrumbs, empty/error states, and denied/unavailable-share behavior. Retain existing visual patterns unless specifically approved to redesign.
- Non-goals: Upload, rename, delete, global search, multiple roots, ZIP selection.
@@ -59,6 +59,8 @@ The scopes below translate Captain's explicit product requirements into implemen
- Dependencies: TASK-002 shared authorization utilities; API shape documented during task.
- Validation: API tests plus `npm run lint`, `npm run build`, manual navigation for admin/standard/no-root users.
- Recommended specialist: Webapp Feature, Frontend Visual QA, Code Review.
- Implementation: Authenticated one-folder listings use the current assignment as `/`. The homepage provides breadcrumbs, parent navigation, and loading, empty, no-access, unavailable and retry states. The admin-only folder picker retains its separate tree. See `DECISIONS.md` for virtual file references and API statuses.
- Evidence: All 15 API tests, Python syntax, production build, and diff checks passed again before integration on 2026-11-25. Chromium previously verified keyboard navigation, responsive desktop and mobile layouts, share failure and recovery, unassigned access, and the admin picker using the exact task snapshot. Lint could not run because ESLint configuration is absent.
### TASK-004: Opaque single-file downloading with resume