My Courses block showing all site courses for some users

Re: My Courses block showing all site courses for some users

by Lesli Smith -
Number of replies: 2

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!

In reply to Lesli Smith

Re: My Courses block showing all site courses for some users

by Carol Howells -

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!

In reply to Carol Howells

Re: My Courses block showing all site courses for some users

by Randy Launius -

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!