When users try to attach a knowledge article from the Short Description in an incident form, the header on the kbpop window is hidden, and the user does not have the option to attach the KB article to the incident.
Steps to Reproduce
Go to /sys_properties_list.do and set the property glide.knowman.show_flag to false.
Ensure that the user does not pass canContribute.
For more information, see the product documentation topic Select user criteria.
Impersonate a user who has access to create and modify incidents.
Disable contextual search on the incident form.
Open any incident and click the Search knowledge icon next to the short description.
Select any knowledge article.
Note the user does not have the option to Attach to Incident.
Expected behavior: If a user has access to update or create an incident, they should be able to attach a KB article to the incident.
Actual behavior: If a user passes canContribute condition for a knowledge article or if the property glide.knowman.show_flag is true, then the user can attach a KB to the incident.
Related Problem: PRB667848