-
Suggestion
-
Resolution: Won't Fix
-
None
-
Standalone; JDK 1.5.0_10
NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? 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>
- relates to
-
JRASERVER-32779 'jira.issue.editable = false' flag does not restrict editing issue links
-
- Gathering Impact
-
-
JRACLOUD-14520 Enhancement of jira.issue.editable to deny the deletion of attachments if set to true
- Closed