Last modified: 2014-04-30 06:51:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32018, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30018 - Add support for userrights, usergroups or autopromotion dependent on having a continous or periodic confirmed email address
Add support for userrights, usergroups or autopromotion dependent on having a...
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Lowest enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-22 20:58 UTC by Rd232
Modified: 2014-04-30 06:51 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Rd232 2011-07-22 20:58:02 UTC
We currently have [[Manual:$wgEmailConfirmToEdit]] as an option to require users to supply an email address in order to edit. Per https://secure.wikimedia.org/wikipedia/en/wiki/Wikipedia:Village_pump_%28proposals%29/Account_security, it would be useful to be able to control this per user group or per user right. For example, if the sysop user group is configured to require a verified email address, then sysop user rights would not be available to a member of the group if that member doesn't have a verified email address.
Comment 1 Mark A. Hershberger 2011-07-25 22:54:17 UTC
forgive my ignorance, but couldn't you just avoid making people a sysop if they didn't have a verified email?  Or is the intent here to remove fumble-fingered mistakes?
Comment 2 Rd232 2011-07-26 10:41:13 UTC
There's relatively little benefit to making people provide a verified email address at one point time. On long-lasting wikis, verification might have been 5-10 years ago. The aim of this bug is to make user rights dependent on a verified email address *on an ongoing basis*. So for example if the user removes the email address, or replaces it with another but doesn't verify it, the user rights associated with their user group are automatically suspended, until a verified email address is provided, when they're automatically re-enabled. This would be more useful if there are situations where the "verified" status of an existing email address can be automatically revoked (eg if emails to the user bounce); I'm not sure if that's the case but if it isn't that's a separate issue.

I should note that this bug is partly because of a desire to use email notifications to enhance security, which is obviously dependent on a current email address. (A "verified" email address may not be current, but it's the best proxy available at the moment.) See also Bug 26227 - "Notify user by email when password changed"; Bug 29856 - "Email notification when verified email address is changed or removed"; and Bug 29857 - "Welcome back email notification after renewed account activity".
Comment 3 Happy-melon 2011-07-29 02:24:27 UTC
I believe we already have an 'emailconfirmed' implicit usergroup.  The simplest way of implementing this would be to implement the opposite, an 'emailunconfirmed' group.  Then $wgRevokePermissions['emailunconfirmed'][<perm>] revokes the right when the user is unverified.  This also seems to have the best aesthetic of fine-grained control over which permissions are affected by the feature.
Comment 4 Rd232 2011-07-29 09:33:45 UTC
That sounds good, but it should be "noemailconfirmed", since we're not just interested in cases of "email address exists, but isn't confirmed" but also "no email address given".
Comment 5 db [inactive,noenotif] 2012-11-11 12:01:31 UTC
For autopromote the condition APCOND_EMAILCONFIRMED is available.
Comment 6 Rd232 2013-04-29 15:17:33 UTC
(In reply to comment #5)
> For autopromote the condition APCOND_EMAILCONFIRMED is available.

Yes, I think that does the requested feature for autoconfirmed users, because of the way autoconfirmed status is checked every time user rights are verified (http://www.mediawiki.org/wiki/Manual:$wgAutopromote). So that's something. But that's special to that pseudo-group and can't easily be extended to others.
Comment 7 Quim Gil 2014-04-30 06:51:05 UTC
A year later...

How relevant is this problem today? How good is the solution proposed? How complex the potential solution?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links