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
F13050696: D20368.diff
Fri, Apr 19, 3:07 AM
Unknown Object (File)
Wed, Apr 17, 6:00 PM
Unknown Object (File)
Thu, Apr 11, 8:05 AM
Unknown Object (File)
Sat, Mar 30, 2:33 AM
Unknown Object (File)
Dec 20 2023, 11:33 AM
Unknown Object (File)
Nov 30 2023, 3:23 AM
Unknown Object (File)
Nov 16 2023, 9:07 AM
Unknown Object (File)
Nov 13 2023, 5:37 PM
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