-
Bug
-
Resolution: Fixed
-
Medium
-
5.12.12, 10.4.0
-
1
-
Severity 2 - Major
-
Problem
Leftover from a user in assets permissions cause "NotFoundInsightException: User not found!" exception
The issue appears when editing the permissions meaning adding, or removing users while the unknown user(s) are present.
Users already in the permission group are not affected.
Instance Details
Jira version 9.12.12
Investigation Done
When an unknown user is present in the Assets permission group, updating members fails with "NotFoundInsightException: User not found!"
Environment
Steps to Reproduce
- Create a user in Jira user management{}
- Give it permission under the assets object schema roles
- Delete the user in Jira user management
- A leftover "unknown" user is left in the schema roles
Expected Results
No leftovers of the deleted user should remain in the schema role group permissions
Actual Results
After deleting the user an Uknow entry remains triggering the "NotFoundInsightException: User not found!" error.
Workaround
Manually remove the Uknown(s) user from the schema role permissions
Notes
Please enhance the user deletion to include the Assets schema role group permissions, or alternatively issue a warning to administrators regarding users in schema roles before their deletion.
- links to