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

zooniverse / tove / 193 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 27 Jan 2020 06:07PM UTC
Files 21
Run time 4s
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

27 Jan 2020 06:06PM UTC coverage: 100.0%. Remained the same
2.6.5, DATABASE_URL_TEST=postgresql://localhost/tove_test?user=postgres

push

travis-ci-com

web-flow
Authentication with Panoptes Roles 💯 (#100)

* Add Pundit, remove dupes

* Add Pundit

* Roles are pulled out of a JSONB and keys must be strings

* Add ApplicationPolicy and spec

* Add UserRoles concern

* * Call super instead of repeating the gem
* Rescue from Pundit::Unauthorized
* Don't call verify_authorized until this is done

* Update project roles

* ProjectPolicy, spec, and AppPolicy updates

* ProjectController updates

* Workflow policy & controller updates

* Authorize singletons on #show routes

* Return a 403 on failed auth. Give each policy its own scope.

* TranscriptionPolicy & spec, only allow approvers to approve

* Add auth verifier after_actions

* Don't join a table if you've already got a foreign key

Co-Authored-By: Campbell Allen <campbell.allen@gmail.com>

* Inline projects method, don't needlessly compact

* Move PanoptesApi out of app/lib and into app/services

* Move UserRole logic out of concern and into RolesChecker service

* Skip auth on root status route

* Move permissions questions to policy, use new policy action for approval check

* Remove comment

* Properly memoize project ids. Move empty? check to role checker.

* Reduce number of db calls to get transcription project policy

* Rename some methods+classes, privatize and un-spec others

Co-authored-by: Campbell Allen <campbell.allen@gmail.com>

319 of 319 relevant lines covered (100.0%)

11.07 hits per line

Source Files on job 193.1 (2.6.5, DATABASE_URL_TEST=postgresql://localhost/tove_test?user=postgres)
  • Tree
  • List 0
  • Changed 8
  • Source Changed 6
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 99
  • Travis Job 193.1
  • abb653e5 on github
  • Prev Job for 2.6.5, DATABASE_URL_TEST=postgresql://localhost/tove_test?user=postgres on master (#175.1)
  • Next Job for 2.6.5, DATABASE_URL_TEST=postgresql://localhost/tove_test?user=postgres on master (#200.1)
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