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

UrbanCCD-UChicago / plenario2 / 1035 / 1
77%
master: 76%

Build:
Build:
LAST BUILD BRANCH: vue-cleanup
DEFAULT BRANCH: master
Ran 23 Jul 2018 08:17PM UTC
Files 122
Run time 11s
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

23 Jul 2018 08:07PM UTC coverage: 76.717%. Remained the same
MIX_ENV=test

Pull #380

travis-ci

web-flow
Do Not Show "Request Changes" to Non-Owner Users in Data Set Show

The _Request Changes_ button was being shown to all users regardless of
ownership when the data set was shown. If a non-owning user clicked the
button, it would 403.

While this is more or less the correct response, users shouldn't even be
aware of this option if they don't own the data set -- this is doubly
true for anonymous users.

This adds a simple condition to the template that ensures the user
attached to the request owns the data set -- there's a `@user_is_owner?`
variable assigned in the response anyway.

Fixes #378
Pull Request #380: Do Not Show "Request Changes" to Non-Owner Users in Data Set Show

1486 of 1937 relevant lines covered (76.72%)

81.0 hits per line

Source Files on job 1035.1 (MIX_ENV=test)
  • Tree
  • List 0
  • Changed 24
  • Source Changed 0
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 703
  • Travis Job 1035.1
  • 26c324b9 on github
  • Prev Job for MIX_ENV=test on 378-user-request-changes (#1030.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