stable

Clone or download

Read-only

feat(ttm): Take account of attachment field permissions

part of: story #22576 have multiple files uploaded with comments How to test: - In the tracker admin, set the read-only permission on the attachment field --> No button [Attach files...] --> No [remove attachment] button on existing attachments - Remove all permissions on the field --> No button [Attach files...] --> Existing attachments are not displayed anymore - Remove the field --> No button [Attach files...] Change-Id: Iaf505bca2f064ffb62afd42742a4f037526b5072

Modified Files

Name
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-attachments/execution-attachments-component.js +7 −0 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-attachments/execution-attachments-component.test.js +21 −0 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-attachments/execution-attachments.tpl.html +2 −2 Go to diff View file