I have migrated a Moodle 2.6 installation some time back to Moodle 3.1.2 and now all users can see ALL courses whether or not they are enrolled in the courses. I am absolutely sure this has been different is the past and then the users could only see the courses they where enrolled in (M 2.6?). I have no settings changed that I am aware off.
Now after searching for a solution I have found the right "view courses without permission" and can see that a particular user does not have this right when checking system rights for this user. But the user can see all courses on the system....???
How to get users only see the courses they are enrolled in?