Project

General

Profile

Actions

Bug #5365

closed

[Workbench] Do not link to objects that are not readable by current user

Added by Nancy Ouyang over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
Workbench
Target version:
Story points:
1.0

Description

Specific examples to fix

(copied from note-3)

In the specific case of the Log tab, when the log data is not readable by the current user (or anonymous user, in the anonymous case):
  • The Log tab should be greyed out / disabled / un-clickable
  • Hovering the Log tab should show a tooltip, something like "Log data is not available"
We should also avoid dead-linking other objects from pipeline/job pages that can be unreadable due to permissions (or deletions):
  • Job output collections
  • Job input collections (including docker image)
  • Template used to run this pipeline instance

Bug as reported

Fiddlesticks when viewing log on anonymous project pathomap

Also, clicking "report" on that fiddlesticks gives another fiddlesticks.

https://workbench.qr1hi.arvadosapi.com/jobs/qr1hi-8i9sb-34f5yfeggzdhn1n#Log

Oh... fiddlesticks.

An error occurred when Workbench sent a request to the Arvados API server. Try reloading this page. If the problem is temporary, your request might go through next time. If that doesn't work, the information below can help system administrators track down the problem.

API request URL
https://qr1hi.arvadosapi.com/arvados/v1/collections/b6b506fa082b773c61f8589b3261b3b0+87
API response {
":errors":[
"Path not found"
],
":error_token":"1425415698+1e617bf4"
}

If you suspect this is a bug, you can help us fix it by sending us a problem report:

Send a problem report right here. Report problem

If you prefer, send email to:

Missing template actions/report_issue_popup, application/report_issue_popup with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee]}. Searched in: * "/var/www/workbench.qr1hi.arvadosapi.com/releases/20150302143906/themes/curoverse/views" * "/var/www/workbench.qr1hi.arvadosapi.com/releases/20150302143906/app/views" * "/var/www/workbench.qr1hi.arvadosapi.com/shared/vendor_bundle/ruby/2.1.0/gems/wiselinks-1.2.1/app/views"


Subtasks 1 (0 open1 closed)

Task #5671: Review branch: 5365-not-link-unreadablesResolvedRadhika Chippada04/06/2015Actions
Actions

Also available in: Atom PDF