mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
privilege cleanup
This commit is contained in:
@@ -130,7 +130,7 @@ var async = require('async'),
|
||||
}
|
||||
|
||||
async.filter(tids, function(tid, next) {
|
||||
privileges.topics.canRead(tid, uid, function(err, canRead) {
|
||||
privileges.topics.can('read', tid, uid, function(err, canRead) {
|
||||
next(!err && canRead);
|
||||
});
|
||||
}, function(tids) {
|
||||
|
||||
Reference in New Issue
Block a user