Public: anyone can read this; the crew can change it.
An app's private destinations on its settings page are §5 rows in a setting list, with an outline Grant #3825
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Replaces #3621. Most of it is on main already: #3534 and #3543 added grant and revoke on the app settings page, the API and the terminal;
app.egress.*events areadminsinsrc/core/event_audience.ts; andsrc/design/activity.tswords them. What is left is how the rows are built.Done:
appEgressViewinsrc/web/pages/settings.tsbuilds each private destination withrow({ lead, title, meta, trail })fromsrc/web/ui.ts, inside<ul class="list setting-list">, with Grant and Revoke in.row-fields. No hand-writtenrow-lead/row-mainmarkup is left.outlinebutton, so the page's Save stays its one accent. Revoke keeps its confirm.setting-list, the outline Grant, and no Grant or Revoke for the non-admin.Files: src/web/pages/settings.ts, its test. Risk: small; posting paths and fields must not change.