mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 18:46:01 +01:00
added filterUids method to privileges
used to filter uids on a single category
This commit is contained in:
@@ -89,7 +89,7 @@ module.exports = function(privileges) {
|
||||
return {pid: pid, cid: cids[index]};
|
||||
});
|
||||
|
||||
privileges.categories.filter(privilege, cids, uid, function(err, cids) {
|
||||
privileges.categories.filterCids(privilege, cids, uid, function(err, cids) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user