Skip to content

Experiences and plans in the admin - #180

Merged
misabegovic merged 1 commit into
mainfrom
ccr-331a6442-nf8lzj
Sep 30, 2026
Merged

misabegovic merged 1 commit into
mainfrom
ccr-331a6442-nf8lzj

Conversation

@misabegovic

@misabegovic misabegovic commented Sep 30, 2026 •

Copy link
Copy Markdown
Owner

Curators can now edit experiences and plans in the admin, with titles and descriptions in all 16 languages, the places an experience visits in order, and a plan's experiences and places by day.

The plans list holds curated plans and travellers' public plans only, as decided; a private plan is not found even by its link. A traveller's public plan is read-only, and only admins delete, and only curated plans. Avo links related records through its own controller, which the per-resource check did not reach, so that controller now asks the parent record's policy too: nothing can be attached to a traveller's plan. This is slice 4 of wiki/initiatives/avo-admin-and-roles.md.

- Experience resource: fields, 16-language tabs, places with a position
- Plan resource: curated and travellers' public plans only, stops by day
- PlanPolicy: private plans never found, travellers' plans read-only
- AdminAssociationGate: attaching and detaching ask the parent's policy
- Shared translation tabs for places, experiences and plans
- Brain: slice 4 build notes, the plans answer as a source
@misabegovic
misabegovic marked this pull request as ready for review September 30, 2026 17:45
@misabegovic
misabegovic merged commit a5de3b0 into main Sep 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants