Skip to content

Prepare UI Mocks for the roles #284

@sgmv

Description

@sgmv

Prepare UI mocks for our epic in figma (or other design tool).

https://confluence.tsi-dev.otc-service.com/spaces/ES/pages/806753601/DRAFT+RBAC+Architecture+Vision

  1. User with the role reader should have the ability to send maintenance to the review.
    • Solution: based on the jwt groups, change title from Submit to "Submit to review" or similar.
  2. User with the role editor should have the ability to approve the maintenance and publish it.
    • You can get the list of maintenances in the status 'pendint_review' via endpoint v2/events?type=maintenance&status=pending_review
    • That's the pendint_review, approved are private statuses, you can get them only then you are authrorised.
    • How the user approve the maintenance. User should open the event details and if the user has rights (has group 'sd_operators' or 'sd_admins') the event page should have the button approve. The button approve will just change the event status and send PATCH request to the backend.
  3. We should have a notification (popup or toaster or something else) for editors if there are events in the status "pending review"
  4. The maintenance should have a field for the contact email like DL-TSI_OTC_Storage_Squad@t-systems.com (mailto:DL-TSI_OTC_Storage_Squad@t-systems.com)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions