directus-extension-webhook-authentication
v1.0.0
Published
Directus Flows Operation to check webhook authorization
Downloads
18
Maintainers
Readme
Directus WebHook (Flow) Authentication Operations
This bundle contains 2 operations aimed at helping provide explicit authentication to Directus Flows using the WebHook trigger.
1. Check Authentication Operation
This operation allows you to check for a certain level of authentication:
- Admin Only
- Users and Admins
- Public (just remove the operation instead of picking this!)
This operation will return true
if authenticated or throw an error otherwise.
2. Check Permissions Operation
This operation allows you to check for the read permissions of a selected collection.
This operation will return true
if the user has the correct permissions or throw an error otherwise.