1.0.17 • Published 2 months ago

node-role-permissions v1.0.17

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

nodejs-role-permissions

Beta and Testing Versions

nodejs-role-permissions, is a Node.js library created to simplify role-based access control (RBAC) in Express applications. It offers a flexible middleware system for managing user roles, and securing routes based on assigned roles.

Open roleConfig.js in your preferred text editor and modify the settings according to your requirements.

Note: Ensure that the user ID is sent to the middleware through the authentication process.

Note: Ensure that the user ID is sent to the middleware through the authentication process.