v1.18.x
Barış Soner Uşaklı 7 years ago
parent 896b8553f7
commit 7c43c7e0f9

@ -79,6 +79,7 @@ module.exports = function (Categories) {
async.apply(privileges.categories.give, defaultPrivileges, category.cid, 'administrators'),
async.apply(privileges.categories.give, defaultPrivileges, category.cid, 'registered-users'),
async.apply(privileges.categories.give, ['find', 'read', 'topics:read'], category.cid, 'guests'),
async.apply(privileges.categories.give, ['find', 'read', 'topics:read'], category.cid, 'spiders'),
], next);
},
function (results, next) {

Loading…
Cancel
Save