ca09b69555
* Acl: Add check to undefined role Lint to eslint Missing merge file Fix lint problems Change Acl lookup Change ACL to be more extensible Fix a few review comments Acl refactor working Mostly working, still problems with user subs Code refactored
9 lines
286 B
JavaScript
9 lines
286 B
JavaScript
import { Meteor } from 'meteor/meteor';
|
|
import mapToAcl from '/imports/startup/mapToAcl';
|
|
import switchSlide from './methods/switchSlide';
|
|
|
|
Meteor.methods(mapToAcl(['methods.switchSlide', 'methods.switchSlideMessage'], {
|
|
switchSlide,
|
|
switchSlideMessage: switchSlide, // legacy
|
|
}));
|