NAME
Kernel::WebApp::Controller::API::Agent::KnowledgeBaseArticle::Role::ProvidesBusinessObjectKnowledgeBaseArticle – Provides some special functionality for the knowledge base business object endpoints.
PUBLIC INTERFACE
has CategoriesForSearch
This attribute contains the categories for which the user has permission (maybe restrict to the selected filter categories).
SortingByGet()
Mapping for the different handling for the sort by and order by in the knowledge base search backend.
PRIVATE INTERFACE
_BuildActiveFilters()
Add filters which must be always present for the knowledge base article search.
has _BuildCategoriesForSearch
Initializes the attribute CategoriesForSearch
for the current user.
We search only if we do have categories the user has access to. If the user don't have access to any category, a search with no CategoryIDs would result in finding all categories.
It is not possible to create FAQ's without categories so at least one category has to be present