OptimalBits / node_acl

Access control lists for node applications
2.62k stars 369 forks source link

acl.middleware numPathComponents support Function type #201

Open alexayan opened 8 years ago

alexayan commented 8 years ago

When cooperation with some routing module, like koa-router. the default implementation, can not meet all of the scenarios. by providing functions for greater flexibility.