[
https://issues.apache.org/jira/browse/AIRAVATA-3682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17692311#comment-17692311
]
Eroma edited comment on AIRAVATA-3682 at 2/28/23 5:56 AM:
----------------------------------------------------------
Test Environment: [https://django.seagrid.org/]
Test cases
# Existing 'Default' group user logs in and can access the 'Shared' directory
- *PASS*
## Can download the 'Shared' directory - PASS
## Can download child directory 'Gaussian' with files - *PASS*
## Can download a single file inside a child directory - *PASS*
## Cannot delete the 'Shared' directory or a child directory or any files
within - *PASS*
## Cannot create child directories within 'Shared' - *PASS*
## Cannot upload files into the 'Shared' or into a child directory - *PASS*
# An existing 'Default' group user creates a new directory (e.g. Test) in
Storage - *PASS*
## Upload files to the newly added 'Test' to storage - *PASS*
## Create a child directory under the new directory 'Test' - *PASS*
## Delete the child directory created under 'Test' - *PASS*
## Delete the directory 'Test' - *PASS*
# Upload a file from the 'Shared' to a new experiment (default user group
user) - PASS
# Upload a file from 'Shared' --> 'Gaussian' to a cloned experiment (admin
user group user) - *PASS*
# A newly created gateway user account with 'Default' group access has access
to 'Shared' directory - *PASS*
# A user from the Admin group cannot delete the 'Shared' directory - *PASS*
# An admin user can delete a child directory within the 'Shared' directory -
*PASS* ( It asks for confirmation)
# An admin user can delete files within 'Shared' and its child directories -
- *PASS* ( It asks for confirmation)
# An admin user can create a child directory within the 'Shared' - *PASS*
# An admin user can upload files into 'Shared' and child directories - *PASS*
# This directory will appear on top of the Storage page - *FAIL* (Seem to be
listed alphabetically)
## This is tested a second time, now the directory is on top - *PASS*
# An admin user creates a new directory named 'Shared'. Exactly the name as in
the gateway 'Shared' directory - *Conditional PASS* (nothing gets created, no
given a message to say the directory cannot be created as such exists as a
gateway resource.)
was (Author: eroma_a):
Test Environment: [https://django.seagrid.org/]
Test cases
# Existing 'Default' group user logs in and can access the 'Shared' directory
- PASS
## Can download the 'Shared' directory - PASS
## Can download child directory 'Gaussian' with files - PASS
## Can download a single file inside a child directory - PASS
## Cannot delete the 'Shared' directory or a child directory or any files
within - PASS
## Cannot create child directories within 'Shared' - PASS
## Cannot upload files into the 'Shared' or into a child directory - PASS
# An existing 'Default' group user creates a new directory (e.g. Test) in
Storage - PASS
## Upload files to the newly added 'Test' to storage - PASS
## Create a child directory under the new directory 'Test' - PASS
## Delete the child directory created under 'Test' - PASS
## Delete the directory 'Test' - PASS
# Upload a file from the 'Shared' to a new experiment (default user group
user) - PASS
# Upload a file from 'Shared' --> 'Gaussian' to a cloned experiment (admin
user group user) - PASS
# A newly created gateway user account with 'Default' group access has access
to 'Shared' directory - PASS
# A user from the Admin group cannot delete the 'Shared' directory - PASS
# An admin user can delete a child directory within the 'Shared' directory -
PASS ( It asks for confirmation)
# An admin user can delete files within 'Shared' and its child directories -
- PASS ( It asks for confirmation)
# An admin user can create a child directory within the 'Shared' - PASS
# An admin user can upload files into 'Shared' and child directories - PASS
# This directory will appear on top of the Storage page - FAIL (Seem to be
listed alphabetically)
> Implement central 'Shared' data directory for a gateway
> -------------------------------------------------------
>
> Key: AIRAVATA-3682
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3682
> Project: Airavata
> Issue Type: New Feature
> Components: Django Portal
> Reporter: Eroma
> Assignee: Marcus Christie
> Priority: Major
>
> The requirement for implementation.
> # A 'Shared' data directory per gateway. User can access files within
> through storage or through 'Create Experiment', 'Edit Experiment' or 'Clone
> Experiment'
> # This directory will be created at gateway deployment, through Ansible
> scripts.
> # This shared directory will not be deletable by any gateway user, including
> admins.
> # Gateway admins can create, delete sub directories under and add, remove
> files. When selected to delete a confirmation will be prompted.
> # Gateway users and read-only-admin users can use the added files.
> # This directory will appear top of the storage for every user.
> # When deploying the gateway the option will be available to either create
> this directory or not. At any point if gateway admins request this feature,
> the SciGaP admins will need to run a deployment and enable to 'Shared'
> directory.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)