-
warrant-express-middleware
Expressjs Middleware for enforcing access control on API endpoints using the Warrant API
-
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.
JWT-based flags/attributes work well to track a small number of roles/attributes but if you need anything more fine-grained, you're likely better off storing these attributes server-side in a separate service and checking them at runtime. Warrant is one such service that also provides server-side middleware to check permissions/authz: https://github.com/warrant-dev/warrant-express-middleware