feat(rust): the permission manager — the site owns the whole store (D160-D163, D188-D198) #25
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/perm-manager"
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?
What & why
Step 3's first redesign,
PLAN_REDESIGNS.md§1. The site now owns every permission and group on every server: what was there before it, what an admin makes, and what is changed in the game (D160). Companion PRs: Rust-Plugins (perm.inventory), Rust-Link (the route), and docs (PROTOCOL §19.9 + PLAN_REDESIGNS §1.9). Tracking: #21.The sync is now read → reconcile → push (
permSync.js,reconcile.js,permissions.apply.js):auto-adopt(default),adopt(wait for a person), orrevoke.Data (
schema.sql, below the existing tables, ALTERs only on shipped ones):rust_permgroupsplus_servers,_permissions,_members,_steam_membersand_chat.rust_perm_steam_grants, D188) andrust_perm_exceptions.imported_at, the catalogue'sowner, and the drift row'sdirection.API + screen:
Permissions.jsxis rebuilt on PermissionsManager's flow (D162). A server, then players ⇄ groups, then plugins by registering owner, then Granted/Revoked, Grant all and Revoke all.How it was tested
check:swagger,check:imports,check:externalsand the frozen manifest (coref0e7d2a) are all current.rustp16, backed up first):oxide.grantand anoxide.revokewithin one tick;oxide.unload Kits→ nothing deleted;c.grant group walkvoice …on Carbon → split, Oxide untouched;adoptpolicy (held, then answered) and therevokepolicy (undone).Checklist
AI-assisted contributions (required)
Claude Code (Claude Opus 5.5). I have reviewed and understandevery change, and take responsibility for it. AI-authored commits are
marked with a
Co-Authored-By/Assisted-Bytrailer.License
(GNU GPL v3.0 or later), and I have the right to contribute it.
🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY