Project

General

Profile

Actions

Bug #3391

open

[Workbench] Can see job information but cannot access output collection

Added by Abram Connelly almost 10 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Workbench
Target version:
-
Start date:
07/28/2014
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

I am not the owner of the job, but I can see job qr1hi-8i9sb-agcnphf8im1aegp from the jobs page. When trying to access the log information, I get a fiddlesticks error message:

API request URL
    https://qr1hi.arvadosapi.com/arvados/v1/collections/4c1a8038ae7fcb167c8274855dd7e7e6+89

API response
    {
      ":errors":[
        "Path not found" 
      ],
      ":error_token":"1406571185+5104d817" 
    }
Actions #1

Updated by Peter Amstutz almost 10 years ago

The problem here is that having access to read a Job record doesn't mean you can read the collection containing the job log. Either the log collection needs to automatically owned by the same project as the job (so that being able to read the project, which grants the ability read the job, also grants the ability to read the job) or permission to read the collection needs to be implicit through the job record "log" field of the collection (possibly a security risk if the log field isn't properly protected by API server from malicious updating to otherwise unowned collections.)

Actions #2

Updated by Tom Clegg over 9 years ago

Fix by making the "show log" link non-clickable (and look non-clickable) when the log page is unreadable.

(It is desirable to support cases where a readable object has a reference to an unreadable object. The solution is to make it possible for the non-reading user to understand what's happening, and for a user who controls the sharing to anticipate when other users will get into this situation, and correct it if they choose to.)

Actions #3

Updated by Tom Clegg over 9 years ago

  • Subject changed from Can see job information but cannot access output collection to [Workbench] Can see job information but cannot access output collection
  • Category set to Workbench
Actions #4

Updated by Tom Clegg over 9 years ago

  • Target version set to Arvados Future Sprints
Actions #5

Updated by Peter Amstutz almost 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions

Also available in: Atom PDF