Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anshulbisht06 opened this issue Nov 17, 2016 · 1 comment
Open

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

anshulbisht06 opened this issue Nov 17, 2016 · 1 comment

Comments

@anshulbisht06
Copy link

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
Copy link
Contributor

jaumard commented Nov 18, 2016

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

  • First Trails need a unified ORM or models readability/maintainability is very awful
  • Trails also need a unified interface for policies/controllers

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 #94 and #89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants