mirror of
https://github.com/vale981/grapher
synced 2025-03-07 02:21:43 -05:00
20 lines
No EOL
409 B
JavaScript
20 lines
No EOL
409 B
JavaScript
import { Mongo } from 'meteor/mongo';
|
|
|
|
const Items = new Mongo.Collection('security_items');
|
|
const SubItems = new Mongo.Collection('security_subitems');
|
|
|
|
export { Items, SubItems };
|
|
|
|
if (Meteor.isServer) {
|
|
Items.expose({
|
|
firewall(filters, options, userId) {
|
|
|
|
}
|
|
});
|
|
|
|
SubItems.expose({
|
|
firewall(filters, options, userId) {
|
|
filters._id = false;
|
|
}
|
|
});
|
|
} |