My Courses block showing all site courses for some users

This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.
Picture of Lesli Smith
Re: My Courses block showing all site courses for some users
Group Moodle Course Creator Certificate holdersGroup Testers

Okay.  Good luck!  Let us know if you figure it out.  I should have looked at your profile before, but it looks as if you are connected to a partner and have some pretty deep experience yourself, in which case I'm hopeful that you will be able to tap the right experts.  For my own part, I'll sheepishly admit that everything I thought I knew about roles, permissions, and contexts has been slightly turned on its head in recent versions, and I learned the lesson I outlined in #2 myself the hard way trying to make a role do too many things in too many contexts.  

I ended up separating out the roles to work in the contexts and then going back and assigning the roles to the people who needed the permissions bumps in the contexts in which they needed them.  It isn't a strategy that is super-sustainable if one is needing to do this for hundreds of users at a time, but it worked for my short-term needs for the window when I needed SOMETHING to work to allow these few users specific access to specific places while locking them out of other places.

I had already started pounding out a draft detailing the solution, so I'm attaching it in case it is still useful.  Plus, I'd really like to know if others have better solutions to this common need.  Thanks!

Picture of Carol Howells
Re: My Courses block showing all site courses for some users

Well finally I tracked it down and it's made my day!

It was legacy category enrolments left over from 1.9...


Thanks for all the help and happy moodling!

Average of ratings: -
Picture of Randy Launius
Re: My Courses block showing all site courses for some users

i am no expert, but this might help some people (who are looking to have teachers see only the classes that they teach on their homepage).

i have manager power.  after about 40 minutes of playing around, i came up with this:

when a new teacher created a course, i had to take away her teacher roll, and then had her enroll as just a student.

then i went back and reassigned her as a teacher roll for that course and she now only sees her own courses.

this might not address everyone's issue on this topic, but i hope it helps someone.  i was excited i figured it out so i signed up and made my first post! woot!

Average of ratings: -