Dogfood .249: enable Spaces / Shares / Deleted files (v2 sidebar views) #50

Closed
opened 2026-07-29 01:22:02 +00:00 by Cordy · 1 comment
Owner

First dogfood of the v2 UI (v0.3.5/v0.3.6) surfaced that the .249 instance (cairn-enc) runs with none of the sidebar-backing features enabled — the UI correctly hides them since v0.3.6, but that means the flagship views aren't exercised in daily use.

To light them up, the cairn-enc-config secret (manual, not in git) needs:

  • auth.perUserHomes: truePersonal becomes /home/<user>, Spaces appears for OIDC group membership (/spaces/<group>; needs the groups claim mapped in the Keycloak client)
  • shares config → Shares view + Share/Copy-link row actions
  • storage.trash.enabled: trueDeleted files view. ⚠ this instance is S3 (Garage): trash moves are copy-heavy on directory trees (#23 decision record) — acceptable at dogfood scale, but worth watching

Layout note: flipping perUserHomes on an existing flat bucket changes the virtual layout — current root files (e.g. sovereignty-check.txt) stay at backend root, visible to admins only. Content may want a one-time move into /home/<user>/.

Nothing here is code; tracking so the dogfood eventually exercises the full v2 surface.

First dogfood of the v2 UI (v0.3.5/v0.3.6) surfaced that the `.249` instance (`cairn-enc`) runs with none of the sidebar-backing features enabled — the UI correctly hides them since v0.3.6, but that means the flagship views aren't exercised in daily use. To light them up, the `cairn-enc-config` secret (manual, not in git) needs: - `auth.perUserHomes: true` → **Personal** becomes `/home/<user>`, **Spaces** appears for OIDC group membership (`/spaces/<group>`; needs the groups claim mapped in the Keycloak client) - `shares` config → **Shares** view + Share/Copy-link row actions - `storage.trash.enabled: true` → **Deleted files** view. ⚠ this instance is S3 (Garage): trash moves are copy-heavy on directory trees (#23 decision record) — acceptable at dogfood scale, but worth watching Layout note: flipping `perUserHomes` on an existing flat bucket changes the virtual layout — current root files (e.g. `sovereignty-check.txt`) stay at backend root, visible to admins only. Content may want a one-time move into `/home/<user>/`. Nothing here is code; tracking so the dogfood eventually exercises the full v2 surface.
Author
Owner

Done 2026-07-30: Nikola flipped auth.perUserHomes, shares.enabled, and storage.trash.enabled in the cairn-enc-config secret; confirmed live in the startup log (shares=true) and carried through the v0.3.14–v0.3.16 rollouts.

Notes from the flip:

  • nikola-test is admin (cairn-admins) and therefore unscoped — to see the member view (private /home + /spaces/<group>), use a non-admin Keycloak user.
  • Trash on this S3 (Garage) instance: directory moves are copy-heavy, as flagged — fine at dogfood scale.
  • Since v0.3.16, a <space>-ro Keycloak group grants read-only space membership (#64) — worth exercising as part of the #59 demo walk-through, which this unblocks.
Done 2026-07-30: Nikola flipped `auth.perUserHomes`, `shares.enabled`, and `storage.trash.enabled` in the `cairn-enc-config` secret; confirmed live in the startup log (`shares=true`) and carried through the v0.3.14–v0.3.16 rollouts. Notes from the flip: - `nikola-test` is admin (cairn-admins) and therefore **unscoped** — to see the member view (private `/home` + `/spaces/<group>`), use a non-admin Keycloak user. - Trash on this S3 (Garage) instance: directory moves are copy-heavy, as flagged — fine at dogfood scale. - Since v0.3.16, a `<space>-ro` Keycloak group grants read-only space membership (#64) — worth exercising as part of the #59 demo walk-through, which this unblocks.
Cordy closed this issue 2026-07-30 02:00:09 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#50
No description provided.