Page MenuHomePhabricator

Improve permissions error on Special:SecurePollLog
Closed, ResolvedPublic

Description

If a user without the securepoll-create-poll right tries to access Special:SecurePollLog, they see the following error:

image.png (141×534 px, 12 KB)

This is confusing since they are not actually attempting to create a poll at this moment.

"create polls" comes from the message action-securepoll-create-poll, which we could update to something like "create polls and view logs".

Event Timeline

Alternatively we could create a new right for viewing the logs, with its own action message, but this would be more complicated for the admins to manage and may not be worth it. Tagging @jrbs and @drochford for advice.

Alternatively we could create a new right for viewing the logs, with its own action message, but this would be more complicated for the admins to manage and may not be worth it. Tagging @jrbs and @drochford for advice.

If we decide to do this, we can file a separate task. For now, let's start by updating the message, as outlined in the task description.

@wikitrent I can't see a patch attached to this - has it been pushed to gerrit yet?

Change 671129 had a related patch set uploaded (by Wikitrent; owner: Wikitrent):
[mediawiki/extensions/SecurePoll@master] Update action_securepoll-create-poll err message

https://gerrit.wikimedia.org/r/671129

Change 671129 merged by jenkins-bot:
[mediawiki/extensions/SecurePoll@master] Update action_securepoll-create-poll err message

https://gerrit.wikimedia.org/r/671129