Offer the @zio/... flags in the rank editor
The rank editor only listed @css/... flags, so a @zio/ flag showed up only on a rank that already held it and couldn't be added to others. List the flags admin_overrides.json uses, plus @zio/penalties from our SimpleAdmin fork.
This commit is contained in:
parent
0af93d1eab
commit
dc7a1e42bd
2 changed files with 17 additions and 1 deletions
|
|
@ -25,7 +25,9 @@ RCON. Without it the panel still works, but shows the server as offline and can'
|
|||
SimpleAdmin writes them. They apply when the player next joins (bans are also picked up by
|
||||
SimpleAdmin within about a minute). Kicks and warnings need the server.
|
||||
- **Ranks and staff**: written to the database, then `css_reloadadmins`. A rank is a SimpleAdmin
|
||||
group (`#rank/mod`); staff are admins holding exactly one such group.
|
||||
group (`#rank/mod`); staff are admins holding exactly one such group. The rank editor offers the
|
||||
`@css/...` flags and our `@zio/...` ones (from the server's `admin_overrides.json` and our
|
||||
SimpleAdmin fork); a new `@zio/` flag needs adding to `knownFlags` in `internal/web/admin.go`.
|
||||
- **Permissions**: commands sent over RCON run as Console, which skips all of SimpleAdmin's own
|
||||
checks, so the panel enforces them itself with the same flags:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue