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

zooniverse / tove / 193
100%

Build:
DEFAULT BRANCH: master
Ran 27 Jan 2020 06:07PM UTC
Jobs 1
Files 21
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
193

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

Jobs
ID Job ID Ran Files Coverage
1 193.1 (2.6.5, DATABASE_URL_TEST=postgresql://localhost/tove_test?user=postgres) 27 Jan 2020 06:07PM UTC 0
100.0
Travis Job 193.1
Source Files on build 193
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #193
  • abb653e5 on github
  • Prev Build on master (#175)
  • Next Build on master (#200)
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