Add and remove ui

This commit is contained in:
Angelo Gallarello 2018-08-03 20:43:37 +02:00
parent f63482b587
commit 7e4bd4a0a7
3 changed files with 36 additions and 21 deletions

View file

@ -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;
},
});