UNPKG

rights-middleware

Version:

Provides dynamic roles based authorization for node.js connect and express servers. This module is a fork from git://github.com/ForbesLindesay/connect-roles.git

38 lines (24 loc) 959 B
2.1.1 / 2013-06-25 * change behaviour of the module. Now it fails on first rule not returned true, the others rules after it are not tested. 2.1.0 / 2013-06-13 ================== * fix: route handlers would continue falling through even when `true` was returned (thanks to [@doughsay](https://github.com/doughsay) for reporting and helping with the fix) * Use npm versions of dependencies, rather than my own GitHub forks 2.0.3 / 2013-02-10 ================== * fix: extra `/` sometimes appeared in paths 2.0.2 / 2013-02-08 ================== * fix: pass the keys array to pathToRegexp 2.0.1 / 2013-02-08 ================== * fix: prepend app.path for mounted apps so handlers always use the full path. 2.0.0 / 2013-02-08 ================== * redesign API 1.0.1 / 2012-12-27 ================== * fix: throw real errors not strings 1.0.0 / 2012-08-24 ================== * First Stable Release