The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 13 TypeScript access-control Projects
-
Hasura
Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
Today, this ecosystem is going strong with new providers like Hasura, AppWrite and Supabase powering millions of projects. There are a few reasons people choose this style of hosting, especially if they are more comfortable with frontend development. BaaS lets them set up a database in a secure way, expose some business logic on top of the data, and connect via a dev-friendly SDK from their app or website code to save data easily. These modern tools build a blend of managed database with curated plugins such as authentication, great admin dashboards, and function as a service type capability - all in one package, and often offered as a integrated hosted service.
-
node-casbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Node.js and Browser
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
You can mitigate the pain by using libraries like accesscontrol, express-rbac, django-guardian, etc., to manage authorization more declaratively. But making sure nothing leaks is still a significant challenge.
-
zenstack
Typescript toolkit on top of Prisma ORM, offering flexible and declarative Access Control Policy(Authorization/Permission) for RBAC/ABAC/PBAC/ReBAC with auto-generated type-safe APIs and frontend hooks.
Project mention: Building an Admin Console With Minimum Code Using React-Admin, Prisma, and Zenstack | dev.to | 2024-03-11ZenStack is a toolkit built above Prisma that adds access control, automatic CRUD web API, etc. It unleashes the ORM's full power for full-stack development.
-
-
ngx-permissions
Permission and roles based access control for your angular(angular 2,4,5,6,7,9+) applications(AOT, lazy modules compatible
-
aws-break-glass-role
Create a break glass role for emergency use in order to limit AWS production account access. Configure automatic alerts and logging of activities in the role to secure its use in production environments.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
vue-simple-acl
A simple unopinionated Vue plugin for managing user roles and permissions, access-control list (ACL) and role-based access control (RBAC).
-
-
Project mention: Public and Private GQL APIs pointing to same Unified graph? | /r/graphql | 2023-04-18
-
-
Full tutorial: https://cerbos.dev/blog/authorization-in-graphql GitHub repo: https://github.com/cerbos/demo-graphql
-
warrant-express-middleware
Expressjs Middleware for enforcing access control on API endpoints using the Warrant API
TypeScript access-control related posts
- Using AI to Generate Database Query Is Cool. But What About Access Control?
- We have just released V1 of ZenSatck, a DSL that defines the access control policy right inside the data model, eliminating the repetitive coding on the application side. Would love to get your feedback/advice.
- We have just released v1 of ZenStack- a DSL that simplifies the full-stack development by auto-generating react hooks from schema. Would love to get your feedback/advice!
- Drizzle or Prisma? I Built an App Twice to Find Out Which Is Better
- Is there a next js starter template that I can use?
- Show HN: ZenStack – DSL to define data and access rules closer to the database
- How To Build a High-Concurrency Ticket Booking System With Prisma
-
A note from our sponsor - WorkOS
workos.com | 28 Mar 2024
Index
What are some of the best open-source access-control projects in TypeScript? This list will help you:
Project | Stars | |
---|---|---|
1 | Hasura | 30,751 |
2 | node-casbin | 2,458 |
3 | accesscontrol | 2,118 |
4 | zenstack | 1,509 |
5 | nest-access-control | 1,056 |
6 | ngx-permissions | 917 |
7 | aws-break-glass-role | 155 |
8 | vue-simple-acl | 121 |
9 | zanzibar-annotated | 64 |
10 | graphql-public-schema-filter | 52 |
11 | SIWT | 14 |
12 | demo-graphql | 13 |
13 | warrant-express-middleware | 3 |