feat(admin): ACL repair, mod users, ticket clarity, ops online hub

Add Repair nav grants on permissions, /mod/users without email/IP, shared ticket queue banners, and shared online roster on CommandoCentrum.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
simoleo89
2026-07-30 19:37:01 +02:00
co-authored by Cursor
parent 686279eb25
commit 6eab5e5343
39 changed files with 841 additions and 106 deletions
@@ -50,6 +50,7 @@ const MOD_ROUTES: Array<[string, string]> = [
["bans", "PERMS.MOD_BANS_VIEW"],
["tickets", "PERMS.MOD_TICKETS_VIEW"],
["help-tickets", "PERMS.MOD_TICKETS_VIEW"],
["users", "PERMS.MOD_USERS_VIEW"],
["team", "PERMS.MOD_TEAM_VIEW"],
];
@@ -73,6 +74,7 @@ const ACTION_GATES: Array<[string, string]> = [
["tickets.ts", "PERMS.TICKETS_EDIT"],
["admin-help-tickets.ts", "PERMS.TICKETS_EDIT"],
["permissions.ts", "PERMS.PERMISSIONS_MANAGE"],
["permissions.ts", "repairAdminNavAclGrants"],
["admin-guilds.ts", "PERMS.USERS_EDIT"],
["moderation.ts", "PERMS.MODERATION_EDIT"],
];