User "Aaron Schulz" changed the status of MediaWiki.r97794.

Old Status: new
New Status: ok

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97794
Commit summary:

Fix for r76344: you can't access $wgUser during the CentralAuthAutoCreate hook, 
because it's the same object that invoked CentralAuth via UserLoadFromSession, 
after mLoadedItems is set to true but before any data is initialised. The 
calling code in CentralAuth does permissions checks correctly, by creating a 
new User object for the anonymous user who is logging in. That's what I've 
implemented here too.

Most of the changes here are just propagating the anonymous user object through 
the call stack.

_______________________________________________
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to