|
|
@ -156,7 +156,7 @@ module.exports = function (Categories) {
|
|
|
|
async.waterfall([
|
|
|
|
async.waterfall([
|
|
|
|
function (next) {
|
|
|
|
function (next) {
|
|
|
|
plugins.fireHook('filter:categories.copyPrivilegesFrom', {
|
|
|
|
plugins.fireHook('filter:categories.copyPrivilegesFrom', {
|
|
|
|
privileges: privileges.privilegeList,
|
|
|
|
privileges: privileges.privilegeList.slice(),
|
|
|
|
fromCid: fromCid,
|
|
|
|
fromCid: fromCid,
|
|
|
|
toCid: toCid,
|
|
|
|
toCid: toCid,
|
|
|
|
}, next);
|
|
|
|
}, next);
|
|
|
|