https://bugzilla.wikimedia.org/show_bug.cgi?id=64568
Bug ID: 64568
Summary: Flow: moderation action when already moderated gives
misleading Insufficient permissions error
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Flow
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
During the mw:Talk:Sandbox spam attack, multiple people were deleting topics.
When I attempted to delete something already deleted (workflow
rtqjfw4o2m1tfpxe), after explaining why and clicking [Delete] in the dialog I
got the error box
"An error occurred.
The error message received was: Insufficient permissions to execute this
action."
The API request returns
{"flow":{"moderate-topic":{
"status":"error",
"result":{"topic":{"permissions":{"message":"Insufficient permissions to
execute this action.","extra":null}}}
}}}
It would be better to detect "Already moderated" or "Moderation state changed,
reload!" or at least report the current moderation status in the error state
In case there's something additional in a server log, this happened around
20140428T13:13
--
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