Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Viewing the users collection via Houston? #123

Closed
jononomo opened this issue Dec 13, 2013 · 3 comments
Closed

Viewing the users collection via Houston? #123

jononomo opened this issue Dec 13, 2013 · 3 comments

Comments

@jononomo
Copy link

First of all, I see three collections if I go to the meteor mongo shell:
houston_admins
system.indexes
users

However, none of these are showing up in my Houston admin panel. My question is - why not, and how can I get them to?

My first attempt was to add this line to my main javascript file:

Houston.add_collection(users);

But I get an error as follows:

(STDERR) ReferenceError: users is not defined
@gterrono
Copy link
Owner

We hide all of our collections (which are prefixed houston_) as well as system collections and the users collection explicitly. You may be able to add it manually, but I think you would need to use Houston.add_collection(Meteor.users);

@jononomo
Copy link
Author

Thanks, that worked.

@fidergo-stephane-gourichon

For future readers, more complete solution with import line on on #372 (comment)

import { Meteor } from 'meteor/meteor';
import 'meteor/houston:admin';

Houston.add_collection(Meteor.users);
Houston.add_collection(Houston._admins);

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants