You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/04/09 19:55: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=17318237#comment-17318237 ] 

ASF subversion and git services commented on AIRAVATA-3362:
-----------------------------------------------------------

Commit b81a41ef13ef8840b6cbcf1987f57e11db1d80a8 in airavata-django-portal's branch refs/heads/develop from Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=b81a41e ]

AIRAVATA-3362 Cleaning up unused code


> 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
> - [ ] 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
> - [ ] need also a readonly version of the UserStorageLink



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