Hi,
I've got a course which is set up to enable someone with the "trainer" role to mark learners as complete. I originally enrolled a member of staff as a "learner", but now want them to be a "trainer", so gave them the "trainer" role and remove the "learner" role. Unfortunately, when I log in as them, the Course Completion Status block displays the normal user view which is how much of the course they have completed.
So I removed the user entirely, and re-enrolled them, as a trainer from the start this time. Still no luck, still seems to think they are a learner not a trainer. So I reset the course date (since it's still in testing, this isn't too much of an issue). Still doesn't work. I remove the staff member and try resetting again, still nothing. I back up the course (minus any user date) and restore it, and still no joy. From the look of the Moodle forums, on 2.2 completion date hangs around in the database even when a course disappears, so what I'm wondering is what I have to do to convince the system that the staff member should be presented with the View course report link rather than their personal completion status.
Just for reference, I set another staff member up as "trainer" who had never been enrolled on the course, and it worked just fine. When logged in as the original staff member, I can go to the course completion status page by putting in the URL to it directly, but for the life of me I can't seem to get the right contents of the Course Completion Status block to appear.
Any suggestions (other than deleting the user and recreating them, although I might be persuaded if I can't resolve this soon, but that seems to me a very extreme approach)?