Commit 543278e8 authored by Denis Arh's avatar Denis Arh
Browse files

Remove webhook's PermissionResource

parent cf6da20b
......@@ -3,8 +3,6 @@ package types
import (
"io"
"time"
"github.com/crusttech/crust/internal/permissions"
)
type (
......@@ -57,8 +55,3 @@ const (
IncomingWebhook WebhookKind = "incoming"
OutgoingWebhook = "outgoing"
)
// Resource returns a system resource ID for this type
func (wh Webhook) PermissionResource() permissions.Resource {
return WebhookPermissionResource.AppendID(wh.ID)
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment