Statistics report shows guest activity although guest login & enrolment is disabled

Statistics report shows guest activity although guest login & enrolment is disabled

Sven Junker -
Erantzun kopurua: 8

Hello everybody,

I'm a little puzzled by the fact that the statistics report graph for our site shows considerable activity by the guest role although we've disabled guest login as well as guest enrolment globally (which had been allowed for a couple of weeks beforehand though).

Additionally, the enrolment plugin overview shows a number of 110/0 enrolments for the (disabled) guest enrolment plugin. I can't seem to figure out what the two numbers mean.

So my question is: where does the guest activity come from?

I have a feeling I might be overlooking something really obvious. Maybe you can point me in the right direction. 

Moodle Version is 3.8.2+

Puntuazioen batez bestekoa: -
Sven Junker(e)ri erantzunda

Re: Statistics report shows guest activity although guest login & enrolment is disabled

Howard Miller -
Core developers-ren irudia Documentation writers-ren irudia Particularly helpful Moodlers-ren irudia Peer reviewers-ren irudia Plugin developers-ren irudia
You are confusing the guest role (a role) with the guest login (a "fake" user). Who would blame you, it would have been better if they had different names.

Anybody using the site who is not logged in has the guest role.
Puntuazioen batez bestekoa:Useful (1)
Howard Miller(e)ri erantzunda

Re: Statistics report shows guest activity although guest login & enrolment is disabled

Sven Junker -
Actually, we thought we had both disabled, and using our site without login is not possible (even browsing, as it's behind an authentication server) . So I'm wondering, with guest access to courses globally disabled, where do the guest roles come from?
Sven Junker(e)ri erantzunda

Re: Statistics report shows guest activity although guest login & enrolment is disabled

Howard Miller -
Core developers-ren irudia Documentation writers-ren irudia Particularly helpful Moodlers-ren irudia Peer reviewers-ren irudia Plugin developers-ren irudia
You can't disable the guest role. If somebody is (for example) looking at the front page without being logged in then they do so with the guest role. Guest role merely means "not logged in" (as opposed to the authenticated user role when logged in)
Howard Miller(e)ri erantzunda

Re: Statistics report shows guest activity although guest login & enrolment is disabled

Sven Junker -
This is what worries me. The way our system is set up there shouldn't be any opportunity to even see the start page without being logged in; if you try, the server redirects you to the login page. Moreover, in the stats I can see there is not only guest activity but when I select the "posts" statistics, there is also a considerable number of guest posts being made.
Sven Junker(e)ri erantzunda

Re: Statistics report shows guest activity although guest login & enrolment is disabled

Howard Miller -
Core developers-ren irudia Documentation writers-ren irudia Particularly helpful Moodlers-ren irudia Peer reviewers-ren irudia Plugin developers-ren irudia
If you can see posts being made in the log then you can click the link and see who made them. A bit more investigation perhaps...
Howard Miller(e)ri erantzunda

Re: Statistics report shows guest activity although guest login & enrolment is disabled

Sven Junker -

They only appear as the aggregated number in the stats graph, there are no guest activities in the logs.

Sven Junker(e)ri erantzunda

Re: Statistics report shows guest activity although guest login & enrolment is disabled

Howard Miller -
Core developers-ren irudia Documentation writers-ren irudia Particularly helpful Moodlers-ren irudia Peer reviewers-ren irudia Plugin developers-ren irudia
Right - if there's nothing in the logs nothing happened. The logs are the "truth"
Puntuazioen batez bestekoa:Useful (1)
Howard Miller(e)ri erantzunda

Re: Statistics report shows guest activity although guest login & enrolment is disabled

Sven Junker -
Thinking of it that way is actually reassuring, whatever is causing the guest activity to pop up in the graph is most likely not a potential security issue. Thanks, Howard! irribarrea