mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
fixes for post privileges
This commit is contained in:
@@ -58,7 +58,8 @@ var winston = require('winston'),
|
||||
callback(null, {
|
||||
read: results.topicPrivs.read,
|
||||
editable: results.topicPrivs.editable || results.isOwner || results.hasEnoughRep,
|
||||
view_deleted: results.topicPrivs.view_deleted || results.isOwner || results.hasEnoughRep
|
||||
view_deleted: results.topicPrivs.view_deleted || results.isOwner || results.hasEnoughRep,
|
||||
move: results.topicPrivs.admin || results.topicPrivs.moderator
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user