Prerequisites
For role-based access control (RBAC) to work properly, you must enable it for your API using either the Dashboard or the Management API. The Authorization Core functionality is different from the Authorization Extension. For a comparison, read Authorization Core vs. Authorization Extension.Dashboard
- Go to Dashboard > User Management > Roles and click the name of the role to view.
- Click the Permissions view.
Column | Description |
---|---|
Name | Name of the permission from the permission definition. |
Description | Description of the permission from the permission definition. |
API | Name of the API to which the permission is attached. |
Management API
Make aGET
call to the Get Role Permissions endpoint. Be sure to replace ROLE_ID
and MGMT_API_ACCESS_TOKEN
placeholder values with your role ID and Management API , respectively.
Value | Description |
---|---|
ROLE_ID | Τhe ID of the role for which you want to get permissions. |
MGMT_API_ACCESS_TOKEN | Access Token for the Management API with the scope read:roles . |