mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 07:10:30 +01:00
admin/mods always gets the reply privs
This commit is contained in:
@@ -53,7 +53,7 @@ module.exports = function(privileges) {
|
||||
var deletable = isAdminOrMod || results.isOwner;
|
||||
|
||||
callback(null, {
|
||||
'topics:reply': results['topics:reply'][0],
|
||||
'topics:reply': results['topics:reply'][0] || isAdminOrMod,
|
||||
read: results.read[0] || isAdminOrMod,
|
||||
view_thread_tools: editable || deletable,
|
||||
editable: editable,
|
||||
|
||||
Reference in New Issue
Block a user