-
Bug
-
Resolution: Obsolete
-
Low
-
3
-
Severity 3 - Minor
-
NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.
When a Project has a default issue security level set for all newly created issues, and a user (who is not allowed to view the issue because of the default security level set) tries to create an issue from email with attachments, the issue is created successfully but the attachments are rejected with the following error message that is added as a comment on the issue:
Reporter (johndoe) does not have permission to create attachments in project XXXX. Following attachments found in the email have been discarded: aaa.xlsx bbb.jpg
This has been reproduced in a 5.1.8 instance, but isn't reproduceable in 5.2.5. now also happening on 6.3-OD-04-019
Steps to reproduce:
- Create an issue security scheme in a project, with security levels restricting a particular user (reporter) from viewing the issue. Set this is as the default issue security level.
- Have that user create an issue via email with attachments.
- Observe that issue is created successfully, but permissions message is created as a comment on the issue and attachments are dropped. Untitled.jpg
Screenshots added showing the same attachment sent via email to the same project when there is no Issue Security Scheme restricting the user (test_attachment_OK.jpeg) and later after adding Issue Security Scheme restricting the user (test_attachment_FAIL.jpeg)
- is related to
-
JRASERVER-32386 Mail Handler unable to create attachments from email when reporter is not in the default issue security level
- Gathering Impact