- Documentation
- Vigil AntiCheat
- Administration
- Staff permissions
Staff permissions
The four access levels
Section titled “The four access levels”Access to the AC has four levels, set by ACL groups. Each player gets the highest level among the lists they are in.
| Level | List (general.*) |
Default |
|---|---|---|
| Helper | helperAcl |
empty: nobody gets in unless you choose so |
| Moderator | staffAcl |
Admin, Console |
| Admin | adminAcl |
Admin, Console |
| Owner | ownerAcl |
Console |
- The server console is always the owner.
general.staffElementData(VRP/MySQL servers) gives the moderator level, never more. That key is automatically protected.- Anyone who is in no list has no access: the panel key (F7) does nothing.
- Only the owner changes
adminAclandownerAcl. Admins changestaffAclandhelperAcl. TheEveryonegroup can never enter any list. - In the panel: Configuration > AC access. On the server console the owner can also use
/ac access <ownerAcl|adminAcl|staffAcl|helperAcl> <add|remove> <group>(without arguments it shows the lists). It is how you put your group inownerAclwithout editing the JSON.
Who can act on whom
Section titled “Who can act on whom”You can only act on someone with a strictly lower level: a moderator cannot kick, ban, watch, screenshot or see the history of another moderator, an admin or the owner. An admin acts on moderators and helpers, but not on other admins or the owner. The rule also covers players who already left (through the accounts used with that serial). The console always can.
Punishment exemption
Section titled “Punishment exemption”With ignoreStaff on, staff only generate logs and are never punished, but only from general.exemptMinLevel up (moderator by default). That way a compromised helper account cannot cheat without consequences. Only the owner changes this option.
What each permission controls
Section titled “What each permission controls”Every panel action and page has a permission in panel.permissions, with the minimum level: helper, moderator, admin or owner (staff still works and means moderator). A permission missing from the configuration requires admin; a value that is not a level denies access (the Security page warns). Defaults:
| Permission | Level | What it allows |
|---|---|---|
view |
helper | Open the panel, the player list and the detections. Mute alerts for yourself. |
reports |
helper | See, take and close reports. |
chat |
helper | Use the staff chat (/sc and the panel; with staff mode on, only on duty). |
duty |
helper | Go on and off duty. |
support |
helper | Open the Support page and ask for help (regular staff forward the request to admins). |
viewHistory |
moderator | A player’s detail: history, linked accounts and serials, evidence, ID search. |
viewBans |
moderator | Ban list and the ban wave queue. |
kick |
moderator | Kick (also the kick decision of a screen check). |
ignore, watch, screenshot |
moderator | Ignore alerts, watch and take screenshots. |
investigate |
moderator | Open a screen check and decide release or kick. |
ip |
moderator | See and copy the full IP (audited; never of someone at the same or a higher level). |
evidence, analytics, esp, notes |
moderator | Evidence, Analytics, staff vision and notes. |
vanish |
moderator | Vanish mode. |
viewConfig |
admin | Configuration and option values, configuration history and lists (resources, ACL groups). |
viewSecurity |
admin | Security (Health), backend and Central status, and logs. |
ban, unban, banwave, quarantine |
admin | Ban, remove bans, ban wave and quarantine. |
exempt, falsePositive, notesDelete, evidenceDelete |
admin | Exemptions, false positives, deleting notes and evidence. |
config, notify, update, license, maintenance |
admin | Change configuration, notifications, updates, license and database. |
supportSend |
admin | Send requests to AC Central support and read the replies. |
Two permissions are fixed and cannot be changed in the configuration: accessStaff (edit staffAcl and helperAcl: admin) and accessOwner (edit adminAcl and ownerAcl: owner).
To change a permission, put it in data/config.json:
{ "panel": { "permissions": { "ip": "admin", "falsePositive": "moderator", "viewConfig": "moderator" } } }Anyone who already had a permission at a lower level keeps the matching read access, so an old configuration does not lose access by accident: config gives viewConfig; ban, unban or banwave give viewBans; config or maintenance give viewSecurity; investigate, watch or screenshot give viewHistory. So to take a read away from moderators you must also raise the permissions that imply it (for example, viewHistory: "admin" is only enough if investigate, watch and screenshot are also admin).
The /ac subcommands (which only admins use) also respect these permissions and the target rule: for example, /ac ban needs ban and does not ban someone at the same or a higher level.
Buttons for an action without permission appear disabled, with a tooltip, and pages the level cannot access do not even show in the menu. That is only the interface: the server decides, and what does not belong to your level is not even sent to your screen.
What the server validates
Section titled “What the server validates”The server validates every panel request: origin, request rate, level, the permission of the request or action (an unknown request or action is refused) and the target rule. An action requested by someone without the permission counts as a detection. Staff Guard: if a resource outside staffguard.allowedResources tries to touch an access group in the ACL (or grant sensitive rights to an ACL), the call is blocked or alerted.
With staff mode on, the panel, the ESP and reports only work on duty (see Staff mode).
Updating from an earlier version
Section titled “Updating from an earlier version”- Servers that already used the AC keep what they had. 3.3.0 changed the default
staffAcltoAdmin,Console; for anyone who never chose the list, the update putsAdmin,SuperModerator,Moderatorback and warns you on the Security page (and it is recorded in the configuration history). If you do not want those groups, remove them in Configuration > AC access. A list you chose (even empty) is never changed. New installs getAdmin,Console. - Intentional reductions for moderators: they no longer see Configuration and its history, Security and Logs, the backend and Central status and the option values, and they can no longer act on someone at the same or a higher level. If you need them to see one of these areas, change the permission (for example
viewConfig: "moderator"). - Only the owner changes the administrators: admins can no longer change
adminAclandownerAcl. Use/ac accesson the server console.
See also config.json reference and Best practices and limits.