Adding Permission to a Role
A fun and easy guide on assigning permissions to a role through the website.
Introduction
Well, Hello there pal!
Looking to give a role some shiny new permissions? Worry not β we got you covered, quick and easy! πͺ
Before we start, make sure you're logged in to our website.
Options
| Prop | Type | Description |
|---|---|---|
role? | string | Select the role you want to modify from the dropdown. |
permissions? | string | Specify which permissions this role should have. |
index? | number | Defines where this role stands in the permission hierarchy on Anti-Raid. A lower index means higher priority in the hierarchy, and vice versa. |
Procedure
Step 1: Select the Role
From the dropdown, pick the role youβd like to grant permissions to. Make sure itβs the right one β no sneaky mix-ups! π
Step 2: Assign Permissions
Choose the permissions you want the role to have.
You can also set its index if you want to control where it sits in the hierarchy.
Pro Tip π‘
You can assign multiple permissions to a role!
Just click the Add Permission button below and keep stacking them up. π
Step 3: Save Changes
Once everything looks good, hit Save β and voilΓ ! Your role now has the right permissions. π

Last updated on