[ 
https://issues.apache.org/jira/browse/DATALAB-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vira Vitanska updated DATALAB-2781:
-----------------------------------
    Description: 
As a Regular User I should be able to {*}share 1 image created by me with all 
other users on the project{*}, so that they can safe their time and recreate 
the same instance from the image.

{*}ACTION FLOW{*}:
 * User select Share image option for 1 image
 * {color:#ff0000}User select Users with whom to share - to be postponed, 
separate story{color}
 * {color:#ff0000}User select the role for the Users with whom to share - to be 
postponed, separate story{color}
 * {color:#ff0000}User select what to share with the User - to be postponed, 
separate story{color}
 * User confirm Share Image complete action with the default parameter
 * The system update the Image list table for all the users with whom the Image 
was shared and for all image owners
 * The system update the Image status to Shared in the Image list table for all 
the users with whom the Image was shared and for all image owners

*ACCEPTANCE CRITERIA:*
 # *When the image shared it will be shared with the next fixed parameters* as:

 * 
 ** project
 ** edge node

 # *The User should be able to click on the Share option in the Action menu for 
the selected image (check wireframe 1) only when*

 * image status is Created
 * he/she is Image creator/owner:
 ** creator is the user who has created the image
 ** owner is the user who is owning the right to manage image and perform Share 
and Terminate actions. The owners are Creator and Admins (incl. Project Admin).
 * there >1 regular user on the project

3. *The User should see the additional information (via hint string) when the 
Share image option in Action menu is disabled:*
 * when image status is not = Created. The message should be the next: "{_}This 
image cannot be shared by you. Contact Admin user{_}"
 * when User is not Image creator/Owner. The message should be the next: 
"{_}This image cannot be shared by you. Contact Admin user{_}"
 * when there is only 1 User on the project and Share 1 image option in Action 
menu is disabled. The message should be the next: "{_}This image cannot be 
shared by you. Contact Admin user{_}"

4. When the User pressed the Active Share option in the Action menu the 
confirmation pop up window should be displayed where the User should confirm 
the action. 

*5. On the confirmation window should be displayed next message* (please check 
Wireframe 2):
 * "The image will be shared with the rest of Regular Users on the project with 
all the data and code. Would you like to proceed?"
 *  The User should be able to select 1 of the 2 options:
 ** Yes - The Share Image process should be started
 ** No - The Share Image process should be reverted

6. *When the User confirm the Share Image parameter the system perform next:*
 * the image will be shared with all the Regular Users on the project, 
including: 
 ** Data
 ** Code
 ** All instance's parameters, based on which the image was created
 ** All installed libraries on the instance, based on which the image was 
created
 ** Information about the image's creator and when the image was created
 ** Image name
 ** Git credentials, which will be deleted during creation of the instance
 * the system update the Image list table for all the users with whom the Image 
was shared and for all image owners (all the admin and Regular users on the 
project)
 * the system update the Image status to Shared in the Image list table for all 
the users with whom the Image was shared and for all image owners (all the 
admin and Regular users on the project)

 

*WIREFRAMES:*

 

*Wireframe 1.*

*!image-2022-05-23-10-10-27-729.png!*

*Wireframe 2.* 

Confirmation window

!image-2022-05-23-10-10-54-589.png!

  was:
As a Regular User I should be able to {*}share 1 image created by me with all 
other users on the project{*}, so that they can safe their time and recreate 
the same instance from the image.

{*}ACTION FLOW{*}:
 * User select Share image option for 1 image
 * {color:#FF0000}User select Users with whom to share - to be postponed, 
separate story{color}
 * {color:#FF0000}User select the role for the Users with whom to share - to be 
postponed, separate story{color}
 * {color:#FF0000}User select what to share with the User - to be postponed, 
separate story{color}
 * User confirm Share Image complete action with the default parameter
 * The system update the Image list table for all the users with whom the Image 
was shared and for all image owners
 * The system update the Image status to Shared in the Image list table for all 
the users with whom the Image was shared and for all image owners

*ACCEPTANCE CRITERIA:*
 # *When the image shared it will be shared with the next fixed parameters* as:

 ** project
 ** edge node
 # *The User should be able to click on the Share option in the Action menu for 
the selected image (check wireframe 1) only when*

 * image status is Created
 * he/she is Image creator/owner:
 ** creator is the user who has created the image
 ** owner is the user who is owning the right to manage image and perform Share 
and Terminate actions. The owners are Creator and Admins (incl. Project Admin).
 * there >1 regular user on the project

3. *The User should see the additional information (via hint string) when the 
Share image option in Action menu is disabled:*
 * when image status is not = Created. The message should be the next: "{_}This 
image cannot be shared by you. Contact Admin user{_}"
 * when User is not Image creator/Owner. The message should be the next: 
"{_}This image cannot be shared by you. Contact Admin user{_}"
 * when there is only 1 User on the project and Share 1 image option in Action 
menu is disabled. The message should be the next: "{_}This image cannot be 
shared by you. Contact Admin user{_}"

4. When the User pressed the Active Share option in the Action menu the 
confirmation pop up window should be displayed where the User should confirm 
the action. 

*5. On the confirmation window should be displayed next message* (please check 
Wireframe 2):
 * "The image will be shared with the rest of Regular Users on the project with 
all the data and code. Would you like to proceed?"
 *  The User should be able to select 1 of the 2 options:
 ** Yes - The Share Image process should be started
 ** No - The Share Image process should be reverted

6. *When the User confirm the Share Image parameter the system perform next:*
 * the image will be shared with all the Regular Users on the project, 
including: 
 ** Data
 ** Code
 ** All instance's parameters, based on which the image was created
 ** All installed libraries on the instance, based on which the image was 
created
 ** Information about the image's creator and when the image was created
 ** Image name
 ** Git credentials, which will be deleted during creation of the instance
 * the system update the Image list table for all the users with whom the Image 
was shared and for all image owners (all the admin and Regular users on the 
project)
 * the system update the Image status to Shared in the Image list table for all 
the users with whom the Image was shared and for all image owners (all the 
admin and Regular users on the project)

 

*WIREFRAMES:*

 

*Wireframe 1.*


> [Administration][Front-end] Manage images for other users 
> ----------------------------------------------------------
>
>                 Key: DATALAB-2781
>                 URL: https://issues.apache.org/jira/browse/DATALAB-2781
>             Project: Apache DataLab
>          Issue Type: Task
>      Security Level: Public(Regular Issues) 
>          Components: DataLab Main
>            Reporter: Vira Vitanska
>            Assignee: Hennadii Shpak
>            Priority: Major
>              Labels: AWS, AZURE, Debian, Front-end, GCP, RedHat
>         Attachments: image-2022-05-23-10-10-27-729.png, 
> image-2022-05-23-10-10-54-589.png
>
>
> As a Regular User I should be able to {*}share 1 image created by me with all 
> other users on the project{*}, so that they can safe their time and recreate 
> the same instance from the image.
> {*}ACTION FLOW{*}:
>  * User select Share image option for 1 image
>  * {color:#ff0000}User select Users with whom to share - to be postponed, 
> separate story{color}
>  * {color:#ff0000}User select the role for the Users with whom to share - to 
> be postponed, separate story{color}
>  * {color:#ff0000}User select what to share with the User - to be postponed, 
> separate story{color}
>  * User confirm Share Image complete action with the default parameter
>  * The system update the Image list table for all the users with whom the 
> Image was shared and for all image owners
>  * The system update the Image status to Shared in the Image list table for 
> all the users with whom the Image was shared and for all image owners
> *ACCEPTANCE CRITERIA:*
>  # *When the image shared it will be shared with the next fixed parameters* 
> as:
>  * 
>  ** project
>  ** edge node
>  # *The User should be able to click on the Share option in the Action menu 
> for the selected image (check wireframe 1) only when*
>  * image status is Created
>  * he/she is Image creator/owner:
>  ** creator is the user who has created the image
>  ** owner is the user who is owning the right to manage image and perform 
> Share and Terminate actions. The owners are Creator and Admins (incl. Project 
> Admin).
>  * there >1 regular user on the project
> 3. *The User should see the additional information (via hint string) when the 
> Share image option in Action menu is disabled:*
>  * when image status is not = Created. The message should be the next: 
> "{_}This image cannot be shared by you. Contact Admin user{_}"
>  * when User is not Image creator/Owner. The message should be the next: 
> "{_}This image cannot be shared by you. Contact Admin user{_}"
>  * when there is only 1 User on the project and Share 1 image option in 
> Action menu is disabled. The message should be the next: "{_}This image 
> cannot be shared by you. Contact Admin user{_}"
> 4. When the User pressed the Active Share option in the Action menu the 
> confirmation pop up window should be displayed where the User should confirm 
> the action. 
> *5. On the confirmation window should be displayed next message* (please 
> check Wireframe 2):
>  * "The image will be shared with the rest of Regular Users on the project 
> with all the data and code. Would you like to proceed?"
>  *  The User should be able to select 1 of the 2 options:
>  ** Yes - The Share Image process should be started
>  ** No - The Share Image process should be reverted
> 6. *When the User confirm the Share Image parameter the system perform next:*
>  * the image will be shared with all the Regular Users on the project, 
> including: 
>  ** Data
>  ** Code
>  ** All instance's parameters, based on which the image was created
>  ** All installed libraries on the instance, based on which the image was 
> created
>  ** Information about the image's creator and when the image was created
>  ** Image name
>  ** Git credentials, which will be deleted during creation of the instance
>  * the system update the Image list table for all the users with whom the 
> Image was shared and for all image owners (all the admin and Regular users on 
> the project)
>  * the system update the Image status to Shared in the Image list table for 
> all the users with whom the Image was shared and for all image owners (all 
> the admin and Regular users on the project)
>  
> *WIREFRAMES:*
>  
> *Wireframe 1.*
> *!image-2022-05-23-10-10-27-729.png!*
> *Wireframe 2.* 
> Confirmation window
> !image-2022-05-23-10-10-54-589.png!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to