Project

General

Profile

Actions

Defect #39521

closed

Mention autocomplete not displaying for users without "Edit issues" permission

Added by Mizuki ISHIKAWA 8 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
Issues
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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

fix-mention-autocomplate.patch (802 Bytes) fix-mention-autocomplate.patch Mizuki ISHIKAWA, 2023-11-07 09:09
Actions #1

Updated by Marius BĂLTEANU 8 months ago

  • Assignee set to Marius BĂLTEANU
  • Target version set to 5.0.7
Actions #2

Updated by Marius BĂLTEANU 7 months ago

  • Tracker changed from Patch to Defect
  • Status changed from New to Confirmed
Actions #3

Updated by Marius BĂLTEANU 7 months 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
Actions #4

Updated by Marius BĂLTEANU 7 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF