-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add possibility to disable or restrict users mentions in RichText #18849
base: main
Are you sure you want to change the base?
Add possibility to disable or restrict users mentions in RichText #18849
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As it also depends on whether the notification is activated, I think you should take the opportunity to add a tooltip (+ a check?).
src/Profile.php
Outdated
|
||
$description = __s('Enables or disables the ability to mention users within the application.') . "<br><br>"; | ||
$description .= "<b>" . __s('Disabled') . "</b> : " . __('User mentions are disabled for this profile.') . "<br><br>"; | ||
$description .= "<b>" . __s('Full') . "</b> : " . __('Displays all users.') . "<br><br>"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps specify that the user will be added as an observer if they are not already a ticket actor?
Checklist before requesting a review
Please delete options that are not relevant.
Description
This PR adds the ability to disable or restrict user mentions in RichText of different forms of response in Ticket/Changes/Problems
New option have been added to the Assistance section of profiles:
Dropdown with 3 values :
Screenshots (if appropriate):