I'm making a custom report and i'm listing all the activities from a course, but I should only print the activities that the user has access to. The course has groupings.
Is there a method for that? Thanks!
I am using this property to check if the user has access, but even though at the completion report (report/progress/index.php) I see the activity is marked as completed by the user, the uservisible property of cm_info is NULL.
problem is solved using
is there another solution? because it seems inefficient