Vira Vitanska created DATALAB-2809:
--------------------------------------
Summary: [Administration][Back-end] Manage images for other users
Key: DATALAB-2809
URL: https://issues.apache.org/jira/browse/DATALAB-2809
Project: Apache DataLab
Issue Type: Task
Security Level: Public (Regular Issues)
Components: DataLab Main
Reporter: Vira Vitanska
Assignee: Hennadii Shpak
Attachments: image-2022-04-26-16-25-57-065.png,
image-2022-04-26-16-26-20-327.png, image-2022-04-26-16-29-36-378.png,
image-2022-04-26-16-30-33-624.png, image-2022-04-26-16-32-11-264.png
As an Admin User I should be able to view and manage all images created by me
and created by other Users on the projects where I am performing Admin role, so
that I can replace other users if they are not performing their role as
expected on the project.
# *Add new panel in the Administration section* of the main menu
Add new Image panel in the main menu within the Administration section
!image-2022-04-26-16-26-20-327.png!
2. *Add table to view parameters* for images
The image table should contain next columns:
* User name - the user that has created the image
* Image name - custom image name that has been assigned by user who has
created the image
* Project name - project name for the instance which was used to create the
image
* Creation date - date and time when the image has been created displayed
according to the *current standard (which is the Time and Date Localization
Formatting) (UPD)*
* Endpoint type - endpoint for the instance which was used to create the image
* Template name - the name of the template (custom or cloud) which was used to
to create the instance and later the image
* Instance name (and link to the env) - instance name that was used to create
the image
* Image status - current status of the image that inform user whether image is
active or not. There might be next types of states:
** Created - if the image has been successfully created and added to the list
of images;
** Creating - status which is displayed when the image creation request has
been sent to the DataLab but the processes was not completed either
successfully or not successfully;
** Failed - if the image has not been successfully created and added to the
list of images (the process has failed but some information was saved to
display it in the list of images);
** Terminated - when the regular or admin user has deleted/terminated
successfully the image (possible only as the next state after the "created")
* Shared status - current status of the image that inform user whether image
has been shared with other users or user groups. There might be next types of
states:
** Private - the image is not shared with any other user except the user who
has created this image and admin users. Other users or user groups does not
have access to this image;
** Shared - the image is shared with the other users/user groups. The
specified users/user groups have access to the image. For images with shared
status there is also action icon "?" that allows to call the pop up menu with
additional information about the list of users/user groups who have the access
to this particular image
* Image - column contain action icons which allow users to call the
** pop up menu with the information and
** action menu - the pop-up window to perform additional operations at the
image level (should be the same design as on the Users, Instances and Images
panels).
!image-2022-04-26-16-29-36-378.png!
3. *Add Action menu for images* (item by item)
*{color:#de350b}Need to be discussed: gear action & check box with respect to
the image status{color}*
* Admin should be able to view and manage all the images created by all users
on the project(s) where he is performing the Admin role
* Share and terminate options should be enabled for the images with Created
status only
!image-2022-04-26-16-30-33-624.png!
4. *Add Action menu for images* (bulk items)
* Admin should be able to view and manage all the images created by all users
on the project(s) where he is performing the Admin role
* If Admin User has selected >=1 images with Created status the Share and
Terminate options in the Action menu should be enabled
* If the User select 1+ images and at least one of the images has Terminated,
Failed or Creating status, the Share and Terminate actions should be disabled
in the Action list.
!image-2022-04-26-16-32-11-264.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]