https://bugzilla.wikimedia.org/show_bug.cgi?id=40340
Web browser: ---
Bug #: 40340
Summary: migrateUserGroup.php must invalidate object cache for
affected users
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Maintenance scripts
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Mobile Platform: ---
Object cache for users can contains users group data (User::saveToCache).
When constructing a User object and getting user groups (via User::getGroups,
as done for Special:Listusers, Special:Preferences, API userinfo, mw.config,
and user group permissions, pretty much everything) - and there is cache - it
means changing user groups will be ineffective.
It will appear as though the user groups haven't changed at all. Just ran into
this on a small wiki of mine, took a while to figure out that it was the object
cache.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l