-
Suggestion
-
Resolution: Won't Fix
-
Standalone; JDK 1.5.0_10
NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.
Is it possible to enhance the property jira.issue.editable so that a deletion of attachments is denied as soon as this property is set to true. I just did this enhancement but maybe this can be included to standardJira:
manageattachments.jsp
<webwork:if test="/hasDeleteAttachmentPermission(./id) == true && editable == 'true'"> | <a href="DeleteAttachment!default.jspa?id=<webwork:url value="/issueObject/id" />&deleteAttachmentId=<webwork:url value="./id" />" id="del_<webwork:url value="./id" />"> <webwork:text name="'common.words.delete'"/></a> </webwork:if>
and
deleteattachment.jsp
<webwork:if test="editable == 'true'"> <page:param name="submitName"><webwork:text name="'common.words.delete'"/></page:param> </webwork:if>
- is related to
-
JRASERVER-14520 Enhancement of jira.issue.editable to deny the deletion of attachments if set to true
- Closed