0.1.1 • Published 9 years ago

snr-authorization-rolecheckvoter v0.1.1

Weekly downloads
4
License
ISC
Repository
github
Last release
9 years ago

snr-authorization-rolecheckvoter

This is a simple voter for snr-authorizationmanager that will check if user has all specified roles.

Just call authMgr.authorize(user, 'requiredRoles:role1,role2') and it will respond true if user has both roles or false otherwise.

0.1.1

9 years ago