• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

usehenri / henri / 122
67%

Build:
DEFAULT BRANCH: master
Ran 17 Nov 2017 09:16PM UTC
Jobs 2
Files 13
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
122

push

travis-ci

reel
feat(user): add roles support (mongoose)

On any given user object, you can use:
`await user.hasRole('someRole');`
or a combination that should match all:
`await user.hasRole(['someRole', 'admin']);`

It returns `true` or `false`

Also, you can configure the base role for new users with `baseRole: 'guest'`

81 of 102 branches covered (79.41%)

Branch coverage included in aggregate %.

256 of 272 relevant lines covered (94.12%)

6.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 122.1 17 Nov 2017 09:16PM UTC 0
90.11
Travis Job 122.1
2 122.2 17 Nov 2017 09:16PM UTC 0
90.11
Travis Job 122.2
Source Files on build 122
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #122
  • 4bb0f592 on github
  • Prev Build on master (#117)
  • Next Build on master (#123)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc