limited how much info gets published to users about themselves
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
Meteor.publish("user", function(){
|
Meteor.publish("user", function(){
|
||||||
return Meteor.users.find(this.userId);
|
return Meteor.users.find(this.userId, {fields: {roles: 1}});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user