#628 Administrators can list one account's timelines, private ones included
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#628
- pull request
- state:merged
Administrators could already open any timeline, private ones included (`Store.access` gives an enabled administrator on a browser session the `admin` role), but /admin had no way to find one account's timelines: the timelines search matched titles and usernames by substring. - **/admin:** each user card gets **Timelines**, which lists that account's timelines alone, private ones included, each linked to the timeline. A notice says whose they are and offers **Show every account's**. - **API:** `GET /api/admin/timelines?owner= ` filters by the exact username (case-insensitive). It goes through `Administration.require` like the rest, so only enabled administrators on a browser session get an answer; others get 403. An administrator's API key still can't reach another account's private timeline. - **Docs:** docs/administration.md, "Inspecting an account's timelines". The privacy policy already discloses administrators' access to private timelines. - **Test:** test/administration-postgres.mjs checks the owner filter lists the owner's private timeline, leaves out others' timelines, and is refused to a non-administrator. Not changed: opening a timeline isn't recorded in the audit, and an administrator can save changes to it as before. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/circagraph/timeline-app/pull/628
Related
Open #628 Administrators can list one account's timelines, private ones included in the timeline