mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Add and remove ui
This commit is contained in:
parent
f63482b587
commit
7e4bd4a0a7
3 changed files with 36 additions and 21 deletions
|
|
@ -5,7 +5,11 @@ Rules.attachSchema(new SimpleSchema({
|
|||
type: String,
|
||||
optional: true,
|
||||
},
|
||||
description: {
|
||||
triggerId: {
|
||||
type: String,
|
||||
optional: true,
|
||||
},
|
||||
actionId: {
|
||||
type: String,
|
||||
optional: true,
|
||||
},
|
||||
|
|
@ -17,11 +21,22 @@ Rules.mutations({
|
|||
},
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
Rules.allow({
|
||||
update: function () {
|
||||
// add custom authentication code here
|
||||
return true;
|
||||
},
|
||||
remove: function () {
|
||||
// add custom authentication code here
|
||||
return true;
|
||||
},
|
||||
insert: function () {
|
||||
// add custom authentication code here
|
||||
return true;
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue