iab has a tiered permission system that allows for server owners to more finely control their users' powers. This permissions system is referred to as 'iab!permissions 2.0' and it was implemented on January 10, 2021. Previously, commands were cordoned off by whether or not the user had the
Administrator Discord permission, although many subcommands still require this permission.
There are two types of permissions: flags and commands.
Command permissions allow users to execute the command specified by the permission. For example, users with the
help permission can run iab!help.
Flag permissions allow users to perform certain actions. The most notable flag permission is
operator, which allows the user to perform any operation in iab except a very small few.
Each guild has 11 permission tiers, each with four different variables:
A user has the permissions and commands granted to their highest tier plus every tier below that. For example, a user with Tier 3 also has the permissions for Tiers 2, 1, and 0.
When a guild adds iab to their server, a tier list will be generated. Any role containing the
Administrator permission will automatically be added to Tier 6, and the @everyone role will be assigned Tier 1.
Server owners (specifically the user who created the server) always has every permission, no matter what.
Users with the
operator flag also have every permission, as Operators are treated as the server owner. Do NOT give
operator to people you do not entirely trust (real life friends, etc.) as Operators bypass Multi-Admin-Approval (like server owners). Most servers should be fine without having even a single Operator.
If a flag or command is not found in the tier list, its default value is used. For flags, these values are as follows:
For commands, the value is its default permission tier. Those tiers are selected with these rules:
The first rule in the list to be matched is the rule used for selecting its tier. For a complete list of default command tiers, please see the command list.
If a permission is defined in multiple tiers, the lower tier is used (as every tier inherits from lower tiers, a higher definition is redundant).
Main Article: permissions