mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 10:06:13 +01:00
missed a bunch of "editable" checks
This commit is contained in:
@@ -186,7 +186,7 @@ function doTopicAction(action, socket, tids, callback) {
|
||||
return next(err);
|
||||
}
|
||||
|
||||
if(!privileges || !privileges.editable) {
|
||||
if(!privileges || !privileges.meta.editable) {
|
||||
return next(new Error('[[error:no-privileges]]'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user