This commit is contained in:
Ben Lubar
2016-08-09 09:50:49 -05:00
parent 26df552d55
commit f62da5c4e9
10 changed files with 40 additions and 40 deletions

View File

@@ -48,7 +48,7 @@ module.exports = function(Categories) {
function(data, next) {
category = data.category;
var defaultPrivileges = ['find', 'read', 'topics:read', 'topics:create', 'topics:reply', 'edit', 'delete', 'upload:post:image'];
var defaultPrivileges = ['find', 'read', 'topics:read', 'topics:create', 'topics:reply', 'posts:edit', 'posts:delete', 'upload:post:image'];
async.series([
async.apply(db.setObject, 'category:' + category.cid, category),