Altien fixes a sharing bug that could lock users out of their own projects
A small query fix in Altien's fork stops shared-project lookups from silently failing - and from taking the rest of the page down with them.
When a user opened their project list, Mike was asking the database a question about who a project had been shared with. The way that question was being phrased didn't quite match what the database expected, so it returned an error - and the error wasn't being caught gracefully. The result: a raw database message in the response and, in the worst case, a user unable to see their own work.
Altien's fix does two things. It rewrites the query so the database understands it, and it changes what happens if a sharing lookup ever fails again - instead of breaking the whole page, the user still sees the projects they own. The author flags this as the cleanest candidate in the fork to push back to the upstream Mike project, since it's a pure bugfix with no fork-specific baggage.
Spotted something wrong? Or know the PR text has fresher detail than the writeup above?