It's fairly common for express apps to have the logged-in user in req.user. This is shown in the express docs as well as in the popular Passport module (which exposes the user as req.user).
Thus, this change will make it easier to integrate acl with Passport and with non-browser-facing services (APIs) that don't use sessions (and do oauth instead, for example).
It's fairly common for express apps to have the logged-in user in
req.user
. This is shown in the express docs as well as in the popular Passport module (which exposes the user asreq.user
).Thus, this change will make it easier to integrate
acl
withPassport
and with non-browser-facing services (APIs) that don't use sessions (and do oauth instead, for example).