fix(demo): lock removing a Steam link on the demo (DM27) #67
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/demo-lock-steam-unlink"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes step-5 walk finding W4:
demo-player's stand-in Steam link can't be removed on the demo.module.jsondemoLocksgainsDELETE /player/rust/links/:steamId.DELETE /admin/users/:id/rust/links/:steamIdserves under core's users mount, which a module'sdemoLocksmay not name. Its handler therefore refuses with403 DEMO_LOCKEDbehindctx.demoMode, before the link is touched.Checked
check:swaggerpasses.403 DEMO_LOCKEDand the link stays.Reaching the demo needs an
edge→maincutover (→ v0.6.2). The demo picks that up at the next wipe.Design of record: docs#387 (DM27).
🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY