Thanks Helen! That worked I enabled guest access to the course with a password. As the users who will see the course would have already logged into the Moodle site, I changed moodle/user:viewdetails for the Guest role to Prevent.
Re: Users with a particular role in a course should not see other user profiles
by Ravi Murugesan -
Number of replies: 0