release: lock removing a Steam link on the demo (v0.6.2) #69

Merged
whitlocktech merged 2 commits from edge into main 2026-10-28 05:18:38 -05:00
Member

Cuts edge over to main so the demo can install the DM27 lock (website DEMO_MODE.md, step-5 walk finding W4).

What lands on main

  • #67 fix(demo): module.json demoLocks gains DELETE /player/rust/links/:steamId, and staff's DELETE /admin/users/:id/rust/links/:steamId (served under core's users mount, which a module's demoLocks can't name) refuses with 403 DEMO_LOCKED behind ctx.demoMode. Without it, demo-player's stand-in Steam link can be removed between wipes.

Release. A fix, so CI releases v0.6.2: the same coreApi ^1.19.0 and the same protocol: 14 in the install manifest. The demo's wipe picks the newest release with an equal protocol (DM12), so it installs this at its next run. Outside the demo nothing changes, since both refusals run only when ctx.demoMode is set.

  • AI-assisted: Claude Code (Claude Opus 5.5)

🤖 Generated with Claude Code

https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY

Cuts `edge` over to `main` so the demo can install the DM27 lock (website `DEMO_MODE.md`, step-5 walk finding W4). **What lands on main** - #67 `fix(demo)`: `module.json` `demoLocks` gains `DELETE /player/rust/links/:steamId`, and staff's `DELETE /admin/users/:id/rust/links/:steamId` (served under core's users mount, which a module's `demoLocks` can't name) refuses with `403 DEMO_LOCKED` behind `ctx.demoMode`. Without it, `demo-player`'s stand-in Steam link can be removed between wipes. **Release.** A `fix`, so CI releases **v0.6.2**: the same `coreApi ^1.19.0` and the same `protocol: 14` in the install manifest. The demo's wipe picks the newest release with an equal protocol (DM12), so it installs this at its next run. Outside the demo nothing changes, since both refusals run only when `ctx.demoMode` is set. - [x] AI-assisted: Claude Code (Claude Opus 5.5) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
wtclaude added 2 commits 2026-10-28 05:15:36 -05:00
fix(demo): lock removing a Steam link on the demo (DM27)
All checks were successful
PR Checks / server-tests (pull_request) Successful in 54s
PR Checks / client-build (pull_request) Successful in 1m5s
PR Checks / frozen-manifest (pull_request) Successful in 1m36s
fb7511d700
The step-5 walk found demo-player could remove its stand-in Steam link from
its Rust page, and staff could remove it from Admin -> Users. That link is
what the player tour's Rust pages, rewards and grants hang on.

- module.json demoLocks gains DELETE /player/rust/links/:steamId.
- The staff route, DELETE /admin/users/:id/rust/links/:steamId, serves under
  core's users mount, which a module's demoLocks may not name, so its handler
  refuses with DEMO_LOCKED behind ctx.demoMode before the link is touched.

Off the demo both behave as before. Checked on a real core with the demo
seed: both answer 403 DEMO_LOCKED and the link stays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
Merge pull request 'fix(demo): lock removing a Steam link on the demo (DM27)' (#67) from fix/demo-lock-steam-unlink into edge
All checks were successful
PR Checks / server-tests (pull_request) Successful in 42s
PR Checks / client-build (pull_request) Successful in 58s
PR Checks / frozen-manifest (pull_request) Successful in 1m7s
ec90d2d5ae
Reviewed-on: #67
whitlocktech merged commit 24307a95d4 into main 2026-10-28 05:18:38 -05:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: RunicGateway/Module-Rust#69
No description provided.