toymachiner62 / hapi-authorization

ACL plugin for hapijs
MIT License
80 stars 25 forks source link

Support either user.credentials.role or .roles #20

Closed millette closed 5 years ago

millette commented 8 years ago

Since either role or roles are supported in the config, might as well support it directly on the credentials. Plus, it's perfect for couchdb users :-)

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 95.395% when pulling b02cad2efeb51521ab0e0b0556a8f06240f7987e on millette:patch-1 into 13b5336a31218c194a488747ffed90fad51436fa on toymachiner62:master.

RicardoRdzG commented 5 years ago

this change is already in the code

millette commented 5 years ago

Alrighty then :-)