Search code examples
node.jspermissionsacluser-permissionshapi.js

Is there a library compatible with Hapi for fine-grained ACL / User permissions?


Looking to use HapiJS as our API server. We need fine-grained user permissions, e.g. "User A can edit field B" "User C can view field D" for a given model / resource.

Before we start building something I've been looking to see if something like this has already been done that is compatible with Hapi.


Solution

  • I've recently been working on an ACL project for hapijs. It should get you a good start. https://www.npmjs.org/package/hapi-authorization