-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Course-context permissions are not checked for graphs in globlal reports #147
Comments
michael-milette
pushed a commit
to michael-milette/moodle-block_configurablereports
that referenced
this issue
Nov 14, 2023
michael-milette
pushed a commit
to michael-milette/moodle-block_configurablereports
that referenced
this issue
Apr 25, 2024
jleyva
added a commit
that referenced
this issue
Oct 3, 2024
djarran
pushed a commit
to catalyst/moodle-block_configurablereports
that referenced
this issue
Oct 14, 2024
This was referenced Oct 14, 2024
brendanheywood
added a commit
to catalyst/moodle-block_configurablereports
that referenced
this issue
Oct 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Global reports are intended to be accessed from any course.
A parameter is appended in the report URL for that purpose (&courseid=MY_COURSE_ID).
In such cases, course-context permissions are checked to allow users to view the reports.
However, graphs in those reports are not displayed if the user has the required permissions in the course context only.
How to reproduce:
Fix:
Append the courseid parameter in the URL returned by function execute:
.'&courseid='.$this->report->courseid
Add the lines marked below:
The text was updated successfully, but these errors were encountered: