From 8630196a2d765439cb9667c1ba68492eafbf2ccf Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 20 Oct 2015 19:07:24 -0400 Subject: [PATCH] up composer --- package.json | 2 +- src/privileges/categories.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8ca72ebcb3..88ef98e1dd 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "mmmagic": "^0.4.0", "morgan": "^1.3.2", "nconf": "~0.7.1", - "nodebb-plugin-composer-default": "1.0.18", + "nodebb-plugin-composer-default": "1.0.19", "nodebb-plugin-dbsearch": "0.2.17", "nodebb-plugin-emoji-extended": "0.4.15", "nodebb-plugin-markdown": "4.0.6", diff --git a/src/privileges/categories.js b/src/privileges/categories.js index 43518861d7..fa03bca51b 100644 --- a/src/privileges/categories.js +++ b/src/privileges/categories.js @@ -179,7 +179,8 @@ module.exports = function(privileges) { 'topics:create': results['topics:create'][0] || isAdminOrMod, editable: isAdminOrMod, view_deleted: isAdminOrMod, - read: results.read[0] || isAdminOrMod + read: results.read[0] || isAdminOrMod, + isAdminOrMod: isAdminOrMod }, callback); }); };