An attached file to a work itemĀ that is removed can still be accessed and downloaded through the link in history.
Using RTC 4.0 GA, I found that an attached file to a work item that is removed can still be accessed and downloaded through the link in history.
steps I used:
Add a file in the attachment list in a WI
Save the WI
Remove the attachment.
Save the WI
Check work item history:
The history should show that there was a file added as attachment and then removed but there should not be a reference to the file.
is this a defect?
steps I used:
Add a file in the attachment list in a WI
Save the WI
Remove the attachment.
Save the WI
Check work item history:
The history should show that there was a file added as attachment and then removed but there should not be a reference to the file.
is this a defect?
2 answers
RTC behaves as designed.
In RTC, we have a 'delete attachment' action, which is different from the 'remove attachment' action.
The delete attachment action is in the Eclipse client, in the context menu of the attachment part.
As it is a operation that should only be performed by administrators. In general we have to policy to not delete resource for auditability and traceability reasons.
Also an attachment can be referenced by more than one work item and also the attachment URL is usable from any application.
I verified the behavior: removed attachment are still visible in the history (expected).
Deleted attachments can not be retrieved.
In RTC, we have a 'delete attachment' action, which is different from the 'remove attachment' action.
The delete attachment action is in the Eclipse client, in the context menu of the attachment part.
As it is a operation that should only be performed by administrators. In general we have to policy to not delete resource for auditability and traceability reasons.
Also an attachment can be referenced by more than one work item and also the attachment URL is usable from any application.
I verified the behavior: removed attachment are still visible in the history (expected).
Deleted attachments can not be retrieved.
Hello Eric,
Can you please explain if the attachment is really deleted from the repository, or it's just not accessible anymore? On the SDK docs for the IAuditable, it was clear that nothing is really DELETED from the repository, just not referenced anymore. It also mentions that there are / were plans to distinguish a "user" delete and an "administrative" delete, maybe even on a separate admin API. Do you know anything about it?
We are worried about the repository growing too much, and currently we have many attachments that could be purged without any auditing problems. If that was possible, at least.
Thanks,
Claudio Neves
Can you please explain if the attachment is really deleted from the repository, or it's just not accessible anymore? On the SDK docs for the IAuditable, it was clear that nothing is really DELETED from the repository, just not referenced anymore. It also mentions that there are / were plans to distinguish a "user" delete and an "administrative" delete, maybe even on a separate admin API. Do you know anything about it?
We are worried about the repository growing too much, and currently we have many attachments that could be purged without any auditing problems. If that was possible, at least.
Thanks,
Claudio Neves