router.json revision b596c6d5d7ea34cf77e8d236b299ea750c78adfc
{
"filters" : [
{
"onRequest" : {
"type" : "text/javascript",
"file" : "script/router-authz.js"
}
},
{
"onRequest" : {
"type" : "text/javascript",
"file" : "script/policyFilter.js"
},
"methods" : [
"create",
"update"
]
},
{
"pattern" : "^managed/user/.*",
"methods" : [
"query"
],
"condition" : {
"type" : "text/javascript",
"source" : "request.params['_query-id'] == 'for-credentials'"
},
"onResponse" : {
"type" : "text/javascript",
"file" : "script/ui/onResponse-for-credentials.js"
}
}
]
}