privileges.posts.get takes an array of pids now

This commit is contained in:
barisusakli
2014-06-28 14:59:01 -04:00
parent 6cd29a31a4
commit d57f183f42
7 changed files with 108 additions and 29 deletions

View File

@@ -150,6 +150,10 @@
db.isSetMember('group:' + groupName + ':members', uid, callback);
};
Groups.isMemberOfGroups = function(uid, groups, callback) {
db.isMemberOfSets(groups, uid, callback);
};
Groups.getMemberCount = function(groupName, callback) {
db.setCount('group:' + groupName + ':members', callback);
};