General developer forum

View users' complete report as a guest

 
Picture of Flaviu Ratiu
View users' complete report as a guest
 

Hi.

I'm trying to make users' complete report available to guests.

I've created a "Recruiter" role starting from the Guest archetype and I've assigned this role to guests and visitors from User Policies. I've also enabled the auto-login option for guests.

If I assign the Recruiter role to a user (in system) and log in with that user, I'm able to view other users' complete report, so I guess the role's permissions are not the issue.

But if I come as a visitor directly to a user's complete report link (e.g. http://localhost:8000/report/outline/user.php?id=129&course=13&mode=complete), then I get the following error: "Coding error detected, it must be fixed by a programmer: Could not find the navigation node requested. Please check that the node you are looking for exists."

What exactly is this node (a node with key 'user129' in the example above) and how can I generate it, please?

My Moodle version is: 3.4.2 (Build: 20180319).

Thanks.

 
Average of ratings: -
Picture of Nitesh Kumar
Re: View users' complete report as a guest
 

Please check after allow guest access to course #13. is guest user is able to access the eg. http://localhost:8000/course/view.php?id=13  ?

 
Average of ratings: -
Picture of Flaviu Ratiu
Re: View users' complete report as a guest
 

Yes, guest user is able to view the course, if guest access is enabled for that course.

But I wouldn't want the guest user to be able to access the course content, but only the complete report for a specific user in a certain course.

 
Average of ratings: -