|
|
@ -53,7 +53,7 @@ module.exports = function(privileges) {
|
|
|
|
var deletable = isAdminOrMod || results.isOwner;
|
|
|
|
var deletable = isAdminOrMod || results.isOwner;
|
|
|
|
|
|
|
|
|
|
|
|
callback(null, {
|
|
|
|
callback(null, {
|
|
|
|
'topics:reply': results['topics:reply'][0],
|
|
|
|
'topics:reply': results['topics:reply'][0] || isAdminOrMod,
|
|
|
|
read: results.read[0] || isAdminOrMod,
|
|
|
|
read: results.read[0] || isAdminOrMod,
|
|
|
|
view_thread_tools: editable || deletable,
|
|
|
|
view_thread_tools: editable || deletable,
|
|
|
|
editable: editable,
|
|
|
|
editable: editable,
|
|
|
|