bigbluebutton-Github/bigbluebutton-html5/imports/startup/acl.js

13 lines
293 B
JavaScript

import { Meteor } from 'meteor/meteor';
import Users from '/imports/api/users';
import Acl from '/imports/api/acl/Acl';
const AclSingleton = new Acl();
Meteor.startup(() => {
AclSingleton.config = Meteor.settings.public.acl;
AclSingleton.Users = Users;
});
export default AclSingleton;