The corporate knowledge base is built on Word Press Heroic Knowledge Base (https://herothemes.com/plugins/heroic-wordpress-knowledge-base/).
The Knowledge Base has a typical structure: Category => Article
As such, there are no restrictions on access rights in the settings, there are only access restrictions for authorized and unauthorized users.

What needs to be done:
Add access separation for users. In each category of articles in the knowledge base, we should specify which user roles can view the articles in that category. For example, couriers should not see instructions for accounting, accountants for marketers, etc.
We have tried existing role plugins - either they require some complicated setup like (Restrict Content Pro), or they do not work with the Knowledge Base at all.
How we see it:
The implementation should be as simple as possible to configure. For example: in each category of the Knowledge Base, a list of roles appears for which articles in this and nested categories will be open for reading.
If a user does not have reading rights - they do not see the article in the list, and when directly accessing the link, they see an error.
It should also ensure the solution remains functional when the Knowledge Base plugin is updated.
If necessary, I will provide additional information.
Budget - by agreement, please specify in applications.