This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Constable V1.0.3
Express ACL Constable V1.0.3
This is the 3rd official release of express-acl aka Constable v1.0.3. This release has been made to introduce new features and to improve the performance of this library. Some of the notable changes include:
Add default Role #70 #72
This approach provides an API to assign users default role instead of returning 404
status. By default users will be assigned guest
however this can be changed via user of defaultRole
property in the config method.
Set decoded Object name #71
Previously the module assumed that your decoded object will be attached to request object as decoded. With the new changes you are free to change it to suite your approach. By adding decodedObjectName
config your can override the settings and use whichever name you prefer. Check the docs for more details.