2017-06-19 21:13:35 +08:00
|
|
|
import { Meteor } from 'meteor/meteor';
|
2017-10-12 10:00:28 +08:00
|
|
|
import Users from '/imports/api/users';
|
2017-10-09 20:49:07 +08:00
|
|
|
import Acl from '/imports/api/acl/Acl';
|
2017-06-19 21:13:35 +08:00
|
|
|
|
|
|
|
const AclSingleton = new Acl();
|
|
|
|
|
|
|
|
Meteor.startup(() => {
|
|
|
|
AclSingleton.config = Meteor.settings.public.acl;
|
|
|
|
AclSingleton.Users = Users;
|
|
|
|
});
|
|
|
|
|
|
|
|
export default AclSingleton;
|