node-casbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Node.js and Browser (by casbin)
nexus-shield
🛡 Nexus plugin to ease the creation of the authorization layer (by Sytten)
Our great sponsors
node-casbin | nexus-shield | |
---|---|---|
6 | 3 | |
2,480 | 93 | |
1.9% | - | |
5.6 | 0.0 | |
20 days ago | 5 months ago | |
TypeScript | TypeScript | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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-casbin
Posts with mentions or reviews of node-casbin.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-03.
-
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
nexus-shield
Posts with mentions or reviews of nexus-shield.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-23.
-
Isomorphic authentication / authorization
Since we don't want to repeat the same authorization patterns over and over again in our resolvers, we'll implement re-usable authorization rules using nexus-shield:
-
Nuxt3 ❤️ GraphQL
Nexus Shield
-
Nexus + Prisma resolver auth in Next.js
As you see here, we use a nexus-shield plugin. With the help of this plugin we can set custom rules for specific resolvers.
What are some alternatives?
When comparing node-casbin and nexus-shield you can also consider the following projects:
CASL - CASL is an isomorphic authorization JavaScript library which restricts what resources a given user is allowed to access
graphql-directive-auth - GraphQL directive for handling auth
oso - Oso is a batteries-included framework for building authorization in your application.
next-auth - Authentication for the Web.
reauth-nextjs
auth-nest-graphql - nest on top of fastify with mongo and graphql passwort jwt and bcrypt
accesscontrol - Role and Attribute based Access Control for Node.js
objection-authorize - isomorphic, "magical" authorization integration with Objection.js 🎉
nexus-plugin-prisma - Deprecated
solana-web3.js - Solana JavaScript SDK
Tailwind CSS - A utility-first CSS framework for rapid UI development.
node-casbin vs CASL
nexus-shield vs graphql-directive-auth
node-casbin vs oso
nexus-shield vs next-auth
node-casbin vs reauth-nextjs
nexus-shield vs auth-nest-graphql
node-casbin vs accesscontrol
nexus-shield vs accesscontrol
node-casbin vs objection-authorize
nexus-shield vs nexus-plugin-prisma
node-casbin vs solana-web3.js
nexus-shield vs Tailwind CSS