diff --git a/app/Enums/RolePermissionModels.php b/app/Enums/RolePermissionModels.php index 36b7913b73..0699109576 100644 --- a/app/Enums/RolePermissionModels.php +++ b/app/Enums/RolePermissionModels.php @@ -13,4 +13,5 @@ enum RolePermissionModels: string case Role = 'role'; case Server = 'server'; case User = 'user'; + case Webhook = 'webhook'; } diff --git a/app/Policies/WebhookConfigurationPolicy.php b/app/Policies/WebhookConfigurationPolicy.php new file mode 100644 index 0000000000..d956943012 --- /dev/null +++ b/app/Policies/WebhookConfigurationPolicy.php @@ -0,0 +1,10 @@ +