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
F15180682: D20368.id48634.diff
Wed, Feb 19, 9:54 PM
F15180656: D20368.id48634.diff
Wed, Feb 19, 9:41 PM
Unknown Object (File)
Sun, Feb 9, 7:32 AM
Unknown Object (File)
Sun, Feb 9, 7:32 AM
Unknown Object (File)
Sun, Feb 9, 7:32 AM
Unknown Object (File)
Sun, Feb 9, 7:32 AM
Unknown Object (File)
Tue, Jan 28, 5:06 AM
Unknown Object (File)
Tue, Jan 28, 5:06 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