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

UrbanCCD-UChicago / plenario2 / 1034
77%
master: 76%

Build:
Build:
LAST BUILD BRANCH: vue-cleanup
DEFAULT BRANCH: master
Ran 23 Jul 2018 08:15PM UTC
Jobs 1
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

pending completion
1034

push

travis-ci

vforgione
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

1486 of 1937 relevant lines covered (76.72%)

80.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1034.1 (MIX_ENV=test) 23 Jul 2018 08:15PM UTC 0
76.72
Travis Job 1034.1
Source Files on build 1034
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1034
  • 2cc37a91 on github
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