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
F18245356: D20368.diff
Thu, Aug 21, 9:34 AM
F18245245: D20368.diff
Thu, Aug 21, 9:19 AM
F18245189: D20368.diff
Thu, Aug 21, 9:11 AM
F18245045: D20368.diff
Thu, Aug 21, 8:50 AM
F18245043: D20368.diff
Thu, Aug 21, 8:50 AM
F18244934: D20368.diff
Thu, Aug 21, 8:42 AM
F18244737: D20368.diff
Thu, Aug 21, 8:01 AM
F18244648: D20368.diff
Thu, Aug 21, 7:43 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