I've defined the permissions in the role by setting "view user profiles" and "view participants" to prohibit at the Course level. But this doesn't seem to work. The "people" block on the course homepage gets hidden, but when someone with this role visits the discussion forums in the course, they can view any user's profile.
Is there a way of making this work? Thanks, Ravi
If you only want to allow the people to view content and discussions, but not participate, how about assigning them the role of guest in the course?
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.