2017-06-19 21:13:35 +08:00
|
|
|
import { Meteor } from 'meteor/meteor';
|
2017-06-28 06:14:53 +08:00
|
|
|
import Users from '/imports/api/2.0/users';
|
2017-06-19 21:13:35 +08:00
|
|
|
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;
|