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

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

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

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

Jobs
ID Job ID Ran Files Coverage
1 1035.1 (MIX_ENV=test) 23 Jul 2018 08:17PM UTC 0
76.72
Travis Job 1035.1
Source Files on build 1035
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1035
  • Pull Request #380
  • PR Base - master (#1030)
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