Type
This interface is used to show the properties of getRoles
options.
Property | Type | Optional | Description |
---|---|---|---|
includeNextLevels | boolean | ✅ | Whether to include next levels. |
includePreviousLevels | boolean | ✅ | Whether to include previous levels. |
info
By default, roleSetup.getRoles()
will only include roles from the
current level.
For each option you set to true
, it will include the respective roles, and will stack with the other options,
including user's current level.