extra information:
No multitennancy is set up.
The ser get's the staff manager role when they are assigned through the job assignment of another user. Even when I remove him as a manager, he still can see the 'non visible courses'.
Can this issue perhaps been caused by the learning plan functionality? As a manager i can create learning plans for my team members + assign courses to them? Perhaps I can send you an export of the staff manager role?