LogoAntiRaid
PermissionsAdding Permissions

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

PropTypeDescription
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. πŸŽ‰

Screenshot of the permissions setup page

Last updated on