We have scorms that are embedded in some of our weekly format courses. These courses have participants added exclusively through an external database method. When I look at the partcipants in the course itself, it exactly matches the external database.
However, if I look at the REPORTS in a scorm that is embedded in the same course, I see now about a 100 extra users who do not show up as ever having tried this scorm and are not otherwise partcipants in this course (they are not in the external database).
Doing some research, I have found that these 100 or so users are all users added to a DIFFERENT course via a new method we just added recently - 'course enrolment confirmations' where they indicate they want to join the course and then we approve them or not and they get an email to this affect. I do not see a way to configure it that I am allowing these users access to all scorms on our site! It's really just a reporting issue that seems tied to capability because I've debugged the reporting code all the way to the call to get_users_by_capability and it is indeed returning these users that are not even enroled in this particular course!
Very bizarre and while it just appears to be a reporting issue, it's quite bothersome that these 100 or so users enroled this different way seem to somehow have different capabilities than regular users, which is quite disturbing.
thanks for any guidance on whether this is a bug or how to further debug it.