Page MenuHomePhabricator

Remove "Move" from Flow board dropdown menu if there's no possible destination the user could move to
Open, NormalPublic1 Story Points

Description

Right now, you can't move Flow boards to arbitrary locations without flow-create-board (i.e. Flowbot + DannyH). If there are also no Flow namespaces, you can't move anywhere.

If the user lacks flow-create-board, and there are no Flow namespaces, don't show Move tab.

Users who try to move a board get the error seen in the screenshot.

We should take "move" out of the dropdown for users who can't use it.

Event Timeline

DannyH created this task.Jul 27 2015, 11:39 PM
DannyH raised the priority of this task from to Normal.
DannyH updated the task description. (Show Details)
DannyH moved this task to Team discussion on the Collaboration-Team-Triage board.
DannyH added a subscriber: DannyH.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 27 2015, 11:39 PM
Mattflaschen-WMF renamed this task from Remove "Move" from Flow board dropdown menu if the user doesn't have the rights to move the board to Remove "Move" from Flow board dropdown menu if there's no possible destination the user could move to.Jul 28 2015, 6:54 PM
Mattflaschen-WMF updated the task description. (Show Details)
Mattflaschen-WMF set Security to None.
DannyH edited a custom field.Jul 28 2015, 6:55 PM
DannyH removed a subscriber: DannyH.Oct 5 2015, 10:55 PM
Catrope added subscribers: Etonkovidova, Trizek-WMF.
Catrope added a subscriber: Catrope.

From T149199:

In betalabs when a user without 'Flow bots' rights clicks on 'Move' option on a Flow board

  • a user is presented with Special:MovePage form
  • as a user fills in for a new title and presses 'Move page', the warning is displayed: "flow-board" content is not allowed on page [destination title]

The warning does not provide a correct information to a user. Either 'Move' option should be unavailable for users who are not allowed to >move Flow boards or the warning should clearly state why the move is not possible.