mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
more privilege changes
This commit is contained in:
@@ -26,7 +26,7 @@ topicsController.get = function(req, res, next) {
|
||||
return next(err);
|
||||
}
|
||||
|
||||
if (!userPrivileges.read) {
|
||||
if (!userPrivileges.meta.read) {
|
||||
return next(new Error('[[error:no-privileges]]'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user