mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Add Feature: enable two-way webhooks - stage two
This commit is contained in:
parent
3f0600fed7
commit
dd0682328b
4 changed files with 103 additions and 26 deletions
|
|
@ -90,7 +90,11 @@ Integrations.attachSchema(
|
|||
);
|
||||
Integrations.Const = {
|
||||
GLOBAL_WEBHOOK_ID: '_global',
|
||||
WEBHOOK_TYPES: ['outgoing-webhooks', 'bidirectional-webhooks'],
|
||||
ONEWAY: 'outgoing-webhooks',
|
||||
TWOWAY: 'bidirectional-webhooks',
|
||||
get WEBHOOK_TYPES() {
|
||||
return [this.ONEWAY, this.TWOWAY];
|
||||
},
|
||||
};
|
||||
const permissionHelper = {
|
||||
allow(userId, doc) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue