Defect #39521
closedMention autocomplete not displaying for users without "Edit issues" permission
0%
Description
When users input the "@" symbol to mention other members within a issue's note textarea, the expected behavior is to display a list of mentionable candidates. This feature, however, seems to be contingent upon having "Edit issues" permissions. Users without these permissions, but with "Add watchers" rights, are unable to view the mention candidates despite being able to use the mention feature.
Reading the code, I've found that the update_data_sources_for_auto_complete method is called within the issue/form partial. The issue/form partial, however, does not render for users lacking "Edit issues" permissions, hence obstructing the display of mention candidates. This behavior occurs even if a user has both "Add notes" and "Add Watchers" permissions.
I have attached a patch to ensure that the mention autocomplete functionality is accessible to all users with mention capability, not just those who can edit tickets.
Best regards,
Files
Updated by Marius BĂLTEANU about 1 year ago
- Assignee set to Marius BĂLTEANU
- Target version set to 5.0.7
Updated by Marius BĂLTEANU about 1 year ago
- Tracker changed from Patch to Defect
- Status changed from New to Confirmed
Updated by Marius BĂLTEANU about 1 year ago
- Subject changed from Mention Autocomplete Not Displaying for Users without Edit issues permission to Mention autocomplete not displaying for users without "Edit issues" permission
- Status changed from Confirmed to Resolved
- Resolution set to Fixed
Updated by Marius BĂLTEANU about 1 year ago
- Status changed from Resolved to Closed