Actions118
- Item Actions
- Activity Actions
- Asset Actions
- Authentication Actions
- Collection Actions
- Extension Actions
- Field Actions
- File Actions
- Folder Actions
- Permission Actions
- Preset Actions
- Relation Actions
- Revision Actions
- Role Actions
- Server Actions
- Setting Actions
- User Actions
- Utility Actions
- Webhook Actions
Permission → Get
AI-generatedOverview
This node is designed to retrieve a specific permission rule from a Directus V1 API based on a provided primary key (ID). It is useful in scenarios where you need to fetch detailed information about a particular permission rule within a Directus-managed system, such as for auditing, validation, or display purposes.
Use Case Examples
- Fetching a permission rule by its ID to verify access rights for a user role.
- Retrieving permission details to display in an admin dashboard for managing user permissions.
Properties
| Name | Meaning |
|---|---|
| ID | Primary key of the permission rule to retrieve, used to specify which permission to get. |
Output
JSON
id- The unique identifier of the permission rule.permissionDetails- Detailed information about the retrieved permission rule.
Dependencies
- Directus V1 API
Troubleshooting
- Ensure the provided ID is valid and exists in the Directus system; otherwise, the node may return an error or no data.
- Check API authentication credentials if the node fails to connect or retrieve data.
- Verify that the resource and operation are correctly set to 'Permission' and 'Get' respectively to avoid misconfiguration errors.