About roles

Overview

A role is a collection of permissions.

To allow a user to perform specific actions within their organization, you must assign the user's account one or more roles.

📘

For more details, read How to manage access rights.

📘

To learn about FanHero user roles, read our guide on Roles & Permissions.

Role object properties

NameTypeDescription
nameStringRole name
descriptionStringRole description
publicBooleanIf True, this role is available to all users, including those that are not logged in.
defaultBooleanIf True, this user role is granted to any newly created account.
permissionsArrayAn array of permissions. This can be a string array containing permission IDs or an object array containing Permission objects.