node-rbac
node-casbin
node-rbac | node-casbin | |
---|---|---|
1 | 6 | |
10 | 2,487 | |
- | 1.2% | |
0.0 | 5.8 | |
about 2 years ago | 23 days ago | |
JavaScript | TypeScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
node-rbac
-
Building RBAC in Node
The code examples shown below can be found in this repository. To run each of them, navigate to the corresponding directory and run yarn install followed by yarn start.
node-casbin
-
Building RBAC in Node
Node-Casbin
-
Suggestion on implementing Authorization in Node.js express
Any good authorization frameworks for Node.js like .NET core's Policy based authorization. I explored node-casbin but found it very terse to get hands-on.
-
Social network on microservices
If you are looking for something a little more complex, declarative and flexible, casbin has been around for quite some time. Also consider, oso. It looks like a more modern and feature-rich tool to me.
- Casbin: An authorization library that supports access control models like ACL, RBAC, ABAC in Node.js
What are some alternatives?
accesscontrol - Role and Attribute based Access Control for Node.js
CASL - CASL is an isomorphic authorization JavaScript library which restricts what resources a given user is allowed to access
oso - Oso is a batteries-included framework for building authorization in your application.
rbac - Hierarchical Role Based Access Control for NodeJS
reauth-nextjs
nexus-shield - 🛡 Nexus plugin to ease the creation of the authorization layer
objection-authorize - isomorphic, "magical" authorization integration with Objection.js 🎉
solana-web3.js - Solana JavaScript SDK
sqlx-adapter - Asynchronous casbin adapter for mysql, postgres, sqlite based on sqlx-rs
pycasbin - An authorization library that supports access control models like ACL, RBAC, ABAC in Python