Page MenuHomePhabricator

Put "workflow" on Dashboard edit links when they're disabled
ClosedPublic

Authored by epriestley on Apr 2 2019, 4:12 PM.
Tags
None
Referenced Files
F19491468: D20368.diff
Thu, Jan 8, 7:22 AM
F19491337: D20368.diff
Thu, Jan 8, 7:18 AM
F19491225: D20368.diff
Thu, Jan 8, 7:16 AM
F19491144: D20368.diff
Thu, Jan 8, 7:14 AM
F19491112: D20368.diff
Thu, Jan 8, 7:14 AM
F19490744: D20368.diff
Thu, Jan 8, 6:49 AM
F19490670: D20368.diff
Thu, Jan 8, 6:46 AM
F19490092: D20368.diff
Thu, Jan 8, 6:26 AM
Subscribers
None

Details

Summary

Depends on D20367. Ref T13272. When an edit action is disabled, we add "workflow" so that the "You can't do this" message renders in a dialog instead of a separate page.

These actions are implemented in a nonstandard way; standardize them.

Test Plan

Clicked both actions as a user who could take them (got normal behavior); and as a user who could not (got permissions dialog errors).

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable