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

UrbanCCD-UChicago / plenario2
77%
master: 76%

Build:
Build:
LAST BUILD BRANCH: vue-cleanup
DEFAULT BRANCH: master
Repo Added 10 Nov 2017 10:00PM UTC
Files 76
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

LAST BUILD ON BRANCH 378-user-request-changes
branch: 378-user-request-changes
CHANGE BRANCH
x
Reset
  • 378-user-request-changes
  • 0.12.4-debug
  • 0.2.13
  • 0.4
  • 0.5
  • 216-accept-204
  • 221-add-back-shapefile
  • 222-field-guesser
  • 264-chart-metas
  • 264-graph-metas
  • 330-display-graphs
  • 331-maps
  • 338-fix-sentry
  • 344-ingest-errors
  • 348-adios-explode
  • 350-clean-up-etl
  • 362-index-names
  • 374-chart-rendering
  • 383-chart-actions
  • 390-fix-seeds-and-index-names
  • 395-fix-erl-to-ndt-cast
  • 398-api-pagination
  • 421-document-api
  • 4xx-handling
  • add-description-to-data-set-field
  • add-dsfields-to-meta-detail
  • add-sentry
  • add-work-to-scheduler
  • admin-start
  • admin-user-workflow
  • admin-workflow-meta-approval
  • aot-api
  • aot-explorer
  • aot-redo
  • api-error-handling
  • api-purge
  • assert-emails-are-sent
  • bbox
  • better-401-403
  • better-404
  • better-500
  • better-admin
  • better-maps
  • box-filter
  • build-deploy-updates
  • build-tag
  • ci-cd
  • clean-up-55
  • clean-up-user-actions
  • contributor-docs
  • controller-tests
  • coverage
  • data-set-actions
  • data-set-actions-redo
  • data-set-redo
  • dev-seeds
  • disable-meta-edit
  • dockerignore
  • documentation
  • drop-unique-constraints
  • dropping-the-deuce
  • etl
  • etl-datetime-parsing
  • etl-fsm
  • etl-redo
  • etl-redo-2
  • etl-schedule-fixer-upper
  • etl-scheduler
  • etl-set-meta-props
  • expand-ingest-timeout
  • export-emails
  • export-encodings
  • export-logs
  • export-search-results
  • exports
  • field-inspection-limits
  • fix-build-script
  • fix-deployment
  • fix-explorer-strftime-error
  • fix-field-guessing
  • fix-mixed-srids-179
  • fix-parse-geoms
  • fix-range-query
  • fix-static-assets
  • fix-to-erl
  • fix-typo-seed-script
  • frontend
  • frontend-refactor
  • frontend-restructuring
  • hoek-vulnerability-fix
  • https
  • info-blocks
  • issue-203
  • issue-204
  • issue-223
  • issue-224
  • issue-225
  • issue-226
  • issue-231
  • issue-233
  • issue-236
  • issue-244
  • issue-245
  • issue-246
  • issue-257
  • issue-310
  • issue-353
  • jenkins
  • jenkins-start
  • json-error-responses
  • leaflet-marker-hotfix
  • list-endpoint
  • logo
  • master
  • meta-add-data-set-fields
  • meta-bbox
  • meta-fsm
  • meta-mutation-requests
  • meta-ready-check
  • model-reg-types
  • momemnt-cve
  • move-sql-temps
  • nix-foo-bar-baz
  • o-canada
  • one-point-x-frontend
  • one-six-formatter
  • options-response
  • page-param-errors
  • pagination
  • pagination-limit
  • peer-key-error
  • plenarex-merge
  • port-comparisons
  • port-search-component
  • pretty-search-results
  • query-utils
  • readme-hotfix
  • readme-test-info
  • redo-admin-user-notes
  • refactor
  • refactor-auth
  • refactor-detail-template
  • register-dataset
  • register-user
  • registry
  • reinstate-travis
  • release-migrate-cmd
  • reorg
  • rm-hexfaktor
  • s3-bucket-configuration
  • scheduler-fix
  • seeds-hotfix
  • self-management
  • send-email
  • shim
  • shim-endpoint-response-formatting
  • shim-keywords
  • shim-limit-offset-keywords
  • slug-endpoint
  • spruce-up-explorer
  • stable-pagination
  • stream-etl
  • swap-n-drop
  • tempfiles
  • test-constaints
  • test-etl-jobs
  • test-export-job
  • test-fields
  • test-init
  • test-init-formatted
  • test-meta
  • tool-versioning
  • tooltip-icons-not-rendering
  • ui-tweaks
  • umbrella
  • update-queries
  • user-auth
  • v.0.13.1
  • v0.10.1
  • v0.11.0
  • v0.11.2
  • v0.11.5
  • v0.12.0
  • v0.12.1
  • v0.12.2
  • v0.12.3
  • v0.12.4
  • v0.12.4-debug
  • v0.12.5
  • v0.13.0
  • v0.13.1
  • v0.13.2
  • v0.13.3
  • v0.13.4
  • v0.13.5
  • v0.13.6
  • v0.13.8
  • v0.14.0
  • v0.2.10
  • v0.2.11
  • v0.2.12
  • v0.2.15
  • v0.2.9
  • v0.5.0
  • v0.6.0
  • v0.6.1
  • v0.6.2
  • v0.6.3
  • v0.6.4
  • v0.7.0
  • v0.7.1
  • v0.7.2
  • v0.7.3
  • v0.7.5
  • v0.8.1
  • v0.9.0
  • v0.9.1
  • v0.9.2
  • v0.9.3
  • v0.9.4
  • v0.9.6
  • v2-endpoints
  • vue
  • vue-explorer
  • vue-integration
  • web-edit-meta
  • web-list-metas

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

Relevant lines Covered
Build:
Build:
1937 RELEVANT LINES 1486 COVERED LINES
81.0 HITS PER LINE
Source Files on 378-user-request-changes
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1035 378-user-request-changes 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... Pull #380 23 Jul 2018 08:17PM UTC web-flow travis-ci pending completion  
1034 378-user-request-changes 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... push 23 Jul 2018 08:15PM UTC vforgione travis-ci pending completion  
See All Builds (1112)
  • Repo 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