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

18 lines
595 B
JavaScript
Raw Normal View History

import { Meteor } from 'meteor/meteor';
2017-10-12 09:02:23 +08:00
import mapToAcl from '/imports/startup/mapToAcl';
2017-03-11 02:33:46 +08:00
import validateAuthToken from './methods/validateAuthToken';
2017-10-12 09:02:23 +08:00
import setEmojiStatus from './methods/setEmojiStatus';
import assignPresenter from './methods/assignPresenter';
import changeRole from './methods/changeRole';
import removeUser from './methods/removeUser';
Meteor.methods(mapToAcl(['methods.setEmojiStatus', 'methods.assignPresenter', 'methods.changeRole',
'methods.removeUser'], {
setEmojiStatus,
assignPresenter,
changeRole,
removeUser,
}));
2017-06-01 01:54:43 +08:00
Meteor.methods({ validateAuthToken });