You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (Jira)" <ji...@apache.org> on 2021/05/03 22:29:00 UTC

[jira] [Commented] (AIRAVATA-3362) Display experiment data directory in experiment summary page

    [ https://issues.apache.org/jira/browse/AIRAVATA-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17338640#comment-17338640 ] 

Marcus Christie commented on AIRAVATA-3362:
-------------------------------------------

There's an issue with properly specifying the path within the experiment data directory.

> Display experiment data directory in experiment summary page
> ------------------------------------------------------------
>
>                 Key: AIRAVATA-3362
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3362
>             Project: Airavata
>          Issue Type: Bug
>          Components: Django Portal
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major
>
> Display the files in the experiment data directory. The user storage view is limited, for security reasons, from showing files of other users, so we can't just link to the user storage view since a user may be viewing another user's experiment.
> We need to authorize access to the experiment data directory based on whether the user has READ access to the experiment.
> Some possibilities:
> # Display the tree of files directly in the experiment summary page. Requires a new endpoint to get the file tree for the experiment data directory for a given experiment id.
> # Add a new mode to the user storage view where it accepts an experiment id and allows a user to browse it if the user has READ access to the experiment.
> #* May get confusing for users to have this alternate mode of browsing the user storage
> h5. Design
> - New API /api/experiment-storage/<exp id>/~/. Much like /api/user-storage/, but requires experiment id and uses this for authorizing access.
> - Read-only version of the user storage UI, and embed this in the experiment summary page.
> h5. TODO
> - [x] implement remote api support for list_experiment_dir
> - [x] implement user_storage.experiment_dir_exists
> - [x] implement ExperimentStoragePathView REST endpoint
> - [x] implement readonly version of the user storage UI that can use the /api/experiment-storage endpoint
> - [x] need also a readonly version of the UserStorageLink



--
This message was sent by Atlassian Jira
(v8.3.4#803005)