Showing content from https://phabricator.wikimedia.org/T330816 below:
⚓ T330816 [Epic] Temporary users should not be assigned to user groups
Motivation
For the MVP, we should disallow temporary users to be assigned into user-groups. We want to keep the temporary user experience close to the current experience for unregistered editors to avoid making drastic changes that may have unintended consequences for our editors and communities.
Spec:
- Temporary users should not be allowed to be assigned user groups. The interface and behavior should be same as current behavior for IP addresses.
Event Timeline Comment Actions
What needs doing?
Temp/user/named groups:
- In UserGroupManager::getUserImplicitGroups, add temporary users to a 'temp' group, and stop adding them to the 'user' group
- Keep 'named' group as future-proofing for if temp users do get the 'user' group
User rights:
- Throw an error from Special:Userrights explaining that temporary users do not have groups
Autoconfimred and autopromote:
- Prevent temp users from being reported as belonging to autopromote and autopromote-once groups (they already aren't if checking via PermissionManager)
UserGroupManager:
- Throw an error for UserGroupManager::addUserToGroup if user is temp
- Check if any other parts of UserGroupManager need updating to early return for temp, or whether these are safe to leave as is
- Ensure UserGroupManager::addUserToGroup is not called on temporary users from WMF deployed code
- Check that User::addGroup (deprecated, replaced by UserGroupManager::addUserToGroup) is not called on temporary users from WMF deployed code
Documentation:
Comment Actions
This is ticket is tracking the subtasks, so moving to blocked/stalled while we work on those.
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4