Closed cwarwicker closed 2 years ago
This commit should fix #73
Hi @danmarsden
We have another client reporting a similiar issue. DId you ever get a chance to look at this MR? Would it be a feasible fix?
Thanks.,
Conn
yeah - this PR was not correct also see comments in #74 - those 2 functions do different things and unfortunately do not check the same things.
This needs a developer to take a closer look and provide a safer/more complete patch.
Ok, I'll have another look at it.
The method used to check if a course module should be 'available' to a user was not taking into account the possible restrict access settings of specific user groups.
This has been changed to use the filter_user_list method which should resolve that issue.