Files
landing-api/app/Policies/WebhookPolicy.php
Josep Piguillem 9bdbf834f6 Send signed outgoing webhooks
Fed by the records themselves, delivered only to public HTTPS addresses
checked at every attempt, retried, and switched off after repeated failures.
A submitter's details travel only to webhooks that opted into them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 09:42:39 +02:00

14 lines
186 B
PHP

<?php
declare(strict_types=1);
namespace App\Policies;
class WebhookPolicy extends ResourcePolicy
{
protected function resource(): string
{
return 'webhooks';
}
}