Uploaded image for project: 'Apache DataLab (Retired)'
  1. Apache DataLab (Retired)
  2. DATALAB-2781

[Front-end] Share 1 image with all Project Users

ResolvedReopenedClosedVerifiedBlockedon hold
    XMLWordPrintableJSON

Details

    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
      • User select Users with whom to share - to be postponed, separate story
      • User select the role for the Users with whom to share - to be postponed, separate story
      • User select what to share with the User - to be postponed, separate story
      • 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:

      1. When the image shared it will be shared with the next fixed parameters as:
        • project
        • edge node
      1. 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.

      Wireframe 2. 

      Confirmation window

      Attachments

        1. image-2022-05-23-10-10-27-729.png
          10 kB
          Vira Vitanska
        2. image-2022-05-23-10-10-54-589.png
          42 kB
          Vira Vitanska

        Issue Links

          Activity

            People

              hshpak Hennadii Shpak
              vvitanska Vira Vitanska
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: