Proposal to allow NULLs in user.username database field

Proposal to allow NULLs in user.username database field

Petr Skoda -
回帖数:1
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像

Hi devs,

I am planning to create some new auth plugins later this year, so I was wondering if anybody would be interested in my proposal to allow usernames to be nullable - see MDL-85198 for technical explanation and use cases. It would make my work a lot easier...

In short, usernames are nowadays mostly replaced by emails to improve user experience. There is also no reliable way to guarantee multiple SSOs have unique usernames.

回复Petr Skoda

Proposal to allow NULLs in user.username database field

Petr Skoda -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
This could be also used to solve the old privacy issue of deleted accounts keeping the original email in username field.