Problem/Motivation

If you take a learning path module as an anonymous user, you get access denied at the end of the module, this is because the user ID for the anonymous user is a string '0' instead of an int, and the strict '===' check fails.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

catch created an issue. See original summary.

catch’s picture

Status: Active » Needs review
StatusFileSize
new668 bytes
catch’s picture

StatusFileSize
new772 bytes

Re-rolled.

axelm’s picture

Hi @catch
I cannot reproduce this issue.
Can you please provide some details about your config (PHP version, etc) ?