Allow mods to change router.js configuration
To do this from a mod:
this.events.on('onBeforeGetRouterConfig', this.onBeforeGetRouterConfig.bind(this));
onBeforeGetRouterConfig: function (config) { }
The config objects has three arrays that can be appended to: allowed
, secondaryAllowed
and globalAllowed
that are initially defined in src/server/security/routerConfig.js
Edited by Big Bad Waffle