ZymiLog in
Pages
Server security

Role audit

Server security → Role audit shows what is risky or unused in your server's roles and channel permissions, as Discord has them right now. Nothing here changes the server: fix things in Discord's own settings, then reload the page. Zymi's own role is left out, since it needs its permissions to work. You need the Role audit permission in Access.

While Zymi is still loading a big server's members after a restart, a yellow note says so: member counts may be too low for a few minutes.

Tabs

TabWhat it shows
FindingsProblems, sorted as Critical, Warning and Clean-up, with counters at the top.
RolesEvery role: what it allows, who has it and who can give it.
CategoriesEach category's own permission settings and the channels synced with it.
ChannelsEach channel's own settings, marked Private, Synced or Not synced.
MembersEveryone whose roles give moderation or management rights, and channel settings made for single members.
Check accessWhat one member, or anyone with one role, can really do, channel by channel.
HistoryEvery change to roles and channel settings.

The number next to a tab says how many items it has. Lists have a search box and filters:

  • Roles: Only with risky permissions, Only nobody has.
  • Categories and Channels: Only with risky settings, Only not synced.
  • Members: Only Administrator, Hide bots.
Roles: each role with its members, risky permissions and where it is set in channels
Roles: each role with its members, risky permissions and where it is set in channels

Which permissions count as risky

Role audit sorts Discord's permissions into two groups.

GroupPermissionsWhy
CriticalAdministrator, Manage Server, Manage Roles, Manage Webhooks, Ban MembersEnough to take over the server or its members. Always worth a look, whoever has them.
ElevatedKick Members, Timeout Members, Manage Channels, Manage Messages, Mention @everyone, Manage Nicknames, Manage Expressions, Manage Events, Manage Threads, Mute Members, Deafen Members, Move Members, View Audit LogFine for staff, a problem on a role many people have.

In a channel's own settings, these count as risky: Manage Permissions (Discord's name for Manage Roles inside a channel), Manage Channel, Manage Webhooks, Manage Messages, Mention @everyone, Manage Threads, Mute Members, Deafen Members and Move Members.

A role counts as big when at least 10 members have it, and at least a fifth of the server.

Findings

Each finding has a title, why it matters and what to change, with links to the roles, channels and members it is about. Critical ones come first.

Findings: counters at the top, then every finding with the roles and channels it is about
Findings: counters at the top, then every finding with the roles and channels it is about
FindingLevelWhat it means
@everyone has (permissions)CriticalEvery member has them, including anyone who joins right now. Move them to a staff role.
@everyone can (permission) in N channelsCriticalAllowed for @everyone in the channels' own settings, so any member can do it there.
N roles with AdministratorCriticalAdministrator skips every permission and channel setting. Keep it to the owner and one or two people.
N bots with AdministratorWarningIf one of these bots is hacked or its token leaks, it can wreck the server. Give its role only what it needs.
(Role) can give itself AdministratorCriticalMembers with Manage Roles can give anyone, themselves too, a role below theirs. A role with Administrator is below it. Move that role above, or take Manage Roles away.
(Role) can give itself more permissionsWarningThe same, for roles below it with other critical permissions.
(Role) gives (permissions) to N membersCritical or WarningA big role, like a member or level role, has risky permissions. Critical if one of them is critical.
(Role) can (permission) in N channelsCritical or WarningNot in the role's own permissions but set in channels, so easy to miss. Critical when the role is big.
Anyone can mention (Role)WarningA role of 50 or more members is mentionable, so anyone can ping all of them at once.
N channels with permissions for single membersWarning or Clean-upNot visible from the roles, and they stay when the member's roles change. Warning when one of them allows something risky. Ticket channels have them by design.
N leftover settings in N channelsClean-upSettings for deleted roles or members who left. They do nothing; remove them.
N roles nobody has and nothing usesClean-upNo member, no channel setting and nothing in Zymi uses them. Another bot or reaction roles might still give them out: check before deleting.
N roles nobody has, but still in useClean-upNo member has them, but Zymi or a channel setting uses them. Open the role to see where.
N groups of roles with the same permissionsClean-upIf they differ only in name or colour, one may be enough.
N names used by more than one roleClean-upEasy to give the wrong one: rename or merge them.
N channels not synced with their categoryClean-upA change to the category doesn't reach them. Often on purpose, like a staff channel in a public category.

"Nothing in Zymi uses them" means the shop, custom commands, self-role menus, ticket panels, dashboard access and the economy.

A role's page

Click a role on Roles or in a finding to open its page:

  • Members, Position, Adds (permissions it adds) and Channels (where it has settings) at the top.
  • Findings about this role.
  • Who can give it: nobody (Discord handles bot, booster and integration roles), only the owner, or the owner and the roles that can (Administrator, or Manage Roles on a higher role). It also says whether Zymi can give it, for shop items and custom commands.
  • Used by Zymi: each shop item, custom command, ticket panel, dashboard access setting or economy setting that uses the role, linked when you may open it. Other bots and reaction roles can't be seen.
  • Similar roles: roles with the same permissions, or one or two different. Candidates for merging.
  • Permissions: by group, Has it or Doesn't have it, risky ones marked.
  • Channel settings: every channel and category with settings for it, and which come From its category.
  • The members who have it.
  • Recent changes to the role.

Comparing two roles

Compare roles puts two roles side by side: At a glance, then the Permissions one has and the other doesn't, then their Channel settings. Pick two different roles under First and Second.

Categories and channels

Open a category to see its settings and its channels. A category's settings pass to every channel synced with it. A channel shows its settings for each role and member as Allowed and Denied. Private means @everyone can't see it, so only the roles and members let in can. A channel also shows its risky settings and leftovers right in the list.

Channels by category, with Private, Synced and risky settings marked
Channels by category, with Private, Synced and risky settings marked

Check access

Discord works out a member's rights from their roles, then from the channel's own settings. To see the result:

  1. Type a member's name, username or ID. Or pick a role to see what Anyone with only that role can do. With a role chosen, the member field is ignored.
  2. Under Where, pick a channel, or keep the whole server.

The answer lists each permission as Can or Can't. With the whole server, Channel by channel shows for every channel whether they Sees it, Writes / joins, and what else they Can also do there. The owner can do everything.

History

History lists every change to roles and channel settings since Zymi first looked at the server. Changes and Risky at the top count the last 30 days.

Filters:

  • Only risky: just the changes that matter most.
  • Role permissions, Roles created, Roles deleted, Channel settings, Staff roles given or taken.
  • From (UTC) and To (UTC): a period.

Who made a change comes from Discord's audit log, when Zymi can read it; otherwise it says Who did it is unknown. Changes are kept for 180 days.

To get an alert in Discord when someone is given a risky permission, turn on Permission alerts in Server security settings.