Allow delete from client. List all integrations in web UI

This commit is contained in:
Andrés Manelli 2017-08-30 00:52:55 -03:00
parent f566022aa4
commit 5bc95511e5
5 changed files with 39 additions and 16 deletions

View file

@ -50,6 +50,9 @@ Integrations.allow({
update(userId, doc) {
return allowIsBoardAdmin(userId, Boards.findOne(doc.boardId));
},
remove(userId, doc) {
return allowIsBoardAdmin(userId, Boards.findOne(doc.boardId));
},
fetch: ['boardId'],
});