Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
corteza
corteza-server
Commits
543278e8
Commit
543278e8
authored
6 years ago
by
Denis Arh
Browse files
Options
Download
Email Patches
Plain Diff
Remove webhook's PermissionResource
parent
cf6da20b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
messaging/types/webhook.go
messaging/types/webhook.go
+0
-7
No files found.
messaging/types/webhook.go
View file @
543278e8
...
...
@@ -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
)
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment