bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/users/server/methods.js
2017-08-18 11:23:05 -07:00

18 lines
616 B
JavaScript
Executable File

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';
Meteor.methods(mapToAcl(['methods.userLogout', 'methods.setEmojiStatus', 'methods.assignPresenter', 'methods.changeRole',
], {
userLogout,
setEmojiStatus,
assignPresenter,
changeRole,
}));
Meteor.methods({ validateAuthToken2x: validateAuthToken });