Skip to content

feat(cities-skymine): add server config access command#745

Open
marzipan99 wants to merge 1 commit into
masterfrom
codex/cities-skymine-config-guide
Open

feat(cities-skymine): add server config access command#745
marzipan99 wants to merge 1 commit into
masterfrom
codex/cities-skymine-config-guide

Conversation

@marzipan99

Copy link
Copy Markdown
Contributor

Summary

  • move the personal settings GUI from /csm config / /.cf to /csm settings / /.settings
  • add /csm config / /.config for editing CitiesSkyMine config.yml access settings
  • add admin-only protection for the config editing command, plus tab completion and help
  • refresh the CitiesSkyMine user guide markdown with current commands and config access examples

Validation

  • /nix/var/nix/profiles/default/bin/nix fmt
  • /nix/var/nix/profiles/default/bin/nix develop --command gradle :plugins:CitiesSkyMine:build
  • git diff --check

Notes

  • The new config command currently edits only access-related settings.
  • The config editor is hard-gated to OP, citiesskymine.config, citiesskymine.admin, or citiesskymine.role.admin so old access.commands.config values cannot accidentally grant server config editing.

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.

1 participant