bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/users/server/methods.js
Anton Georgiev 6b1a29eab4 Merge pull request #4426 from OZhurbenko/presenter-functionality-2x
HTML5 - Whiteboard/Presentation fixes, improvements, refactoring
2017-10-04 14:05:03 -04:00

20 lines
703 B
JavaScript

import { Meteor } from 'meteor/meteor';
import mapToAcl from '/imports/startup/mapToAcl';
import userLogout from './methods/userLogout';
import validateAuthToken from './methods/validateAuthToken';
import setEmojiStatus from './methods/setEmojiStatus';
import assignPresenter from './methods/assignPresenter';
import changeRole from './methods/changeRole';
import kickUser from './methods/kickUser';
Meteor.methods(mapToAcl(['methods.userLogout', 'methods.setEmojiStatus', 'methods.assignPresenter', 'methods.changeRole',
'methods.kickUser'], {
userLogout,
setEmojiStatus,
assignPresenter,
changeRole,
kickUser,
}));
Meteor.methods({ validateAuthToken2x: validateAuthToken });