bigbluebutton-Github/bigbluebutton-html5/imports/api/meetings/server/methods.js
2018-11-08 10:55:12 -08:00

16 lines
675 B
JavaScript

import { Meteor } from 'meteor/meteor';
import mapToAcl from '/imports/startup/mapToAcl';
import endMeeting from './methods/endMeeting';
import toggleRecording from './methods/toggleRecording';
import transferUser from './methods/transferUser';
import toggleLockSettings from './methods/toggleLockSettings';
import toggleWebcamsOnlyForModerator from './methods/toggleWebcamsOnlyForModerator';
Meteor.methods(mapToAcl(['methods.endMeeting', 'methods.toggleRecording', 'methods.transferUser', 'methods.toggleLockSettings', 'methods.toggleWebcamsOnlyForModerator'], {
endMeeting,
toggleRecording,
toggleLockSettings,
transferUser,
toggleWebcamsOnlyForModerator,
}));