You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I know Meteor.users just publishes _id, profile and emails. But with this package, I also see that the roles field is published. Can you confirm it?
The text was updated successfully, but these errors were encountered:
PolGuixe
changed the title
Question: does this package makes user.roles available in the client when user is logged in?
Questions about Meteor.user().roles and package associated collections
Jun 14, 2016
The roles collection is the old collection, it's a collection that is not in use right now.
nicoloaslopez_roles_keys is a functionality that is not yet documented. It allows you to generate a key in the client and then in the server take the key and get the userId. This is only useful when using server side routes. For example: you want to download a file with permissions. First you request the key in the client, then send the user to the server side url with the key in the parameters and then you can fetch the userId with the key.
As far as I know Meteor.users just publishes
_id, profile and emails
. But with this package, I also see that theroles
field is published. Can you confirm it?The text was updated successfully, but these errors were encountered: