bigbluebutton-Github/bigbluebutton-html5/imports/api/meetings/server/methods.js

12 lines
401 B
JavaScript
Raw Normal View History

2017-01-18 20:53:33 +08:00
import { Meteor } from 'meteor/meteor';
2017-10-12 06:17:42 +08:00
import mapToAcl from '/imports/startup/mapToAcl';
import endMeeting from './methods/endMeeting';
2018-02-16 03:42:50 +08:00
import toggleRecording from './methods/toggleRecording';
2018-10-17 01:55:20 +08:00
import transferUser from './methods/transferUser';
2017-01-18 20:53:33 +08:00
2018-10-17 01:55:20 +08:00
Meteor.methods(mapToAcl(['methods.endMeeting', 'methods.toggleRecording', 'methods.transferUser'], {
2017-10-12 06:17:42 +08:00
endMeeting,
toggleRecording,
2018-10-17 01:55:20 +08:00
transferUser,
2017-10-12 06:17:42 +08:00
}));