-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hello all,
When using CustomerGroupSupport, customer user can see FAQ articles title without permission.
How to reproduce the issue:
-
Enable "CustomerGroupSupport"
-
Create customer company "COMPANY01" and "COMPANY02"
-
Create customer user "cust01" -> "COMPANY01", "cust02" -> "COMPANY02"
-
Create group "tech01" and "tech02"
-
Assign COMPANY01 -> tech02, COMPANY02 -> tech02
-
Create FAQ category TECH01(group tech01), TECH02(group tech02)
-
Create FAQ article "FOR TECH01" in category TECH01 and "FOR TECH02" in category TECH02, with external
-
Login customer.pl by cust01
-
Visit "FAQ" page on customer interface, can look subcategories only "TECH01" ( is OK), but Latest Updated Articles, there are 2 FAQ article listed "FOR TECH 01" and "FOR TECH 02" ( "FOR TECH 02" is NG)
-
Select FAQ artcile "FOR TECH 02", There are error "Insufficient Rights" (Message: No Permission!) (OK)
-
Search article with keyword "TECH", there are article listed "FOR TECH 01" and "FOR TECH 02" ( "FOR TECH 02" is NG)
Tracing the code:
When Jumping dashboard to CustomerFAQExplorer, there are no CategoryID and the module calls Kernel::System::FAQ::FAQSearch() without CategoryIDs parameter.
Kernel::System::FAQSearch returns article list without permission check, module listed all articles without check.
Regards,
Tomohisa Hirami