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 > Manage Users > Users and click the name of the user 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. |
Assignment | Indicates whether the permission is directly assigned to the user or is assigned via a role. |
Management API
Make aGET
call to the Get User Permissions endpoint. Be sure to replace USER_ID
and MGMT_API_ACCESS_TOKEN
placeholder values with your user ID and Management API , respectively.
Value | Description |
---|---|
USER_ID | Τhe ID of the user for whom you want to get permissions. |
MGMT_API_ACCESS_TOKEN | Access Token for the Management API with the scope read:users . |