This pull request was deployed and Sentry observed the following issues:
‼️ ArgumentError: SQL expression element or literal value expected, got <lms.models.user.User object at 0x7ff767f6d...api.dashboard.assignmentView Issue
‼️ ArgumentError: SQL expression element or literal value expected, got <lms.models.user.User object at 0x7fcdade1f...api.dashboard.assignment.statsView Issue
This allow rows in User with the same h_userid (ie the same user in different installs) to be equivalent for memberships checks.
Testing
Not reproducing the bug in local but here is how to check the fix in prod after merging:
eng+canvasteacher@hypothes.is