trailsjs / trails

:evergreen_tree: Modern Web Application Framework for Node.js.
http://trailsjs.io
Other
1.66k stars 70 forks source link

trailsjs equivalent of sails-auth and sails-permission #258

Open anshulbisht06 opened 7 years ago

anshulbisht06 commented 7 years ago

Hi, I am using Trailsjs for project on Compliance system. It is a wonderful framework for a web application development. Though I am using session management using hapi-auth-jwt2 and own made permission system, still I want to know - When trailsjs equivalent of sails-auth and sails-permission will arrive ?

jaumard commented 7 years ago

Hi, Some things are blocking those module from being create.

For now I create something equivalent as sails-auth and sails-permission with https://github.com/jaumard/trailpack-passport and https://github.com/jaumard/trailpack-acl but both work only with express and few ORM.

trailpack-passport can't become trail pack-auth because passport doesn't work well with hapi, or we need multiple implementation for express/hapi and others...

trailpack-acl can become trailpack-permission all it need is unified controllers/policies/models and it will work nicely.

So this issue is blocked by https://github.com/trailsjs/trails/issues/94 and https://github.com/trailsjs/trails/issues/89