Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-3362

Display experiment data directory in experiment summary page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Django Portal
    • None

    Description

      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:

      1. 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.
      2. 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
      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.
      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

      Attachments

        Activity

          People

            marcuschristie Marcus Christie
            marcuschristie Marcus Christie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: