As a DIVO, I need to view the specific details for a CCE device within my purview so that I can reference those fields to better manage my CCE.
All fields except for facility and reference name are shown on the page as a definition list (see )
If an optional field doesn't have a value, it is not shown on the page
If a group of field items doesn't have any values, the heading is not shown
The reference name is shown at as the modal title
otherwise, the equipment model and serial number are shown as the title of the modal
The functional status box shows color coded functionality indicator, status, and username & timestamp of last update
Clicking on any part of the functional status box will open a "update status" modal
Clicking the button in the functional status box will open a "update status" modal
An edit button and(This will be added in ) Close button is visible below the CCE modal
The workflow and modals look like the following
The root cause of is probably not related to this ticket but rather to a right check on the facility get endpoint, which shouldn't be there.
Can you confirm that the right check shouldn't be present on the get by id endpoint?
Per discussion on Slack (#help), every logged in user (with a token) should be able to get all the details of any and all facilities. Administrative right checks shouldn't happen for that.
I tested the ticket as a CCE manager, and everything works correctly.
Thank you for your work on this! Glad to see it's all working smoothly now.
For all fields entered
show that all fields are visible
long comments are folded
new line in comments is respected
gap has already a bug created (OLMIS-3238, it is CSS related, should be easy to fix)
Edit button takes user to the Edit modal
Update Status button takes user to the Update Status modal
For only required fields
Source, Year of Warranty Expiry and Additional Notes are missing