Fixes the issue that requires you to add extra permission sets for `/create/...` and `/edit/...` Fixes #147
@@ -56,7 +56,7 @@ module.exports = {
manage: false
}
let rt = []
- let p = _.chain(req.originalUrl).toLower().trim().value()
+ let p = _.chain(req.originalUrl).toLower().trim().replace(/^\/(edit|create)/, '').value()
// Load user rights