Use case on Service Portal search funcationalityIssue <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } table tr td { padding: 15px; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } hr{ border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; } ul { list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Overview Explanation of service portal search functionality for a use case which is defined like below. Use Case: Catalog contains category_1, category_2 category_1 contains item_1 category_2 contains subcategory_2 subcategory_2 contains item_2 Both category 1 and 2 have a user criteria "available for" that doesn't permit the user to see them, and for the subcategory_2 user has access. Test Case: 2. Type "item_1" in the typeahead search and could see No results. 3. Type "item_2" in the typeahead search and could see item_2 in the results. - As per the configuration, item_2 is in subcategory_2 and subcategory_2 is in category_2, but for category_2 the user doesn't have access. So logically user should not have access to "item_2" even though the "available for" is allowing the user. System Functionality User criteria on the category are solely for the purpose of browsability. When searching for an item it checks if there is any category that is accessible for the user and displays it if it has any. In the above use case, both category and subcategory are from the sc_category table. The system looks at all the records in the table and validates the access. So if we see the above use case, there is no logical relation between 'category_2' and 'subcategory_2' with respect to the current system functionality. So this is why the 'item_2' has resulted in the search for the user. This is the expected behavior of the system.