Page MenuHomePhabricator

Flow: moderation action when already moderated gives misleading Insufficient permissions error
Open, MediumPublic


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

  "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

(Copy of merged task T95091)

As reported User:Ace111 (before undo button has been added to wiki)
He added to another's post his complement text. Then he tried to hide it. But it turned out that he hid the whole post. There was an opportunity to unhide, but the system would not let him do it - said that "not enough rights".

01:19, 2 April 2015 . . Abiyoyo restored a comment
01:17, 2 April 2015 . . Ace111 hid a comment
01:15, 2 April 2015 . . Ace111 edited a comment
01:11, 2 April 2015 . . Ace111 edited a comment
01:08, 2 April 2015 . . Ace111 edited a comment
00:26, 2 April 2015 . . Abiyoyo commented

See also:
T94954 - It is not clear what Flow's hide link is for
T94317 - some Database query error

1 user creates a post in the topic
2 user changes this post
2 user makes an action "hid" the post, and opens the history page
1 user opens the page history
1 user makes an action "unhide"
2 user makes an action "unhide" and receives an error "##Insufficient permissions to execute this action."

may be a message "This action has been done before" or similar



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:13 AM
bzimport set Reference to bz64568.
bzimport added a subscriber: Unknown Object (MLST).
Quiddity removed a subscriber: Maryana.Dec 19 2014, 1:41 AM
Spage triaged this task as Medium priority.Dec 31 2014, 8:49 AM
Restricted Application added a project: Collaboration-Team-Triage. · View Herald TranscriptMay 13 2015, 6:28 PM
Restricted Application added a project: Growth-Team. · View Herald TranscriptJul 18 2018, 6:56 PM
SBisson moved this task from Inbox to Triaged but Future on the Growth-Team board.Jul 20 2018, 6:02 PM