Page MenuHomePhabricator

Allow applications to test if a user could edit a certain field by clicking "Edit Thing"
ClosedPublic

Authored by epriestley on Mar 8 2016, 12:47 PM.
Tags
None
Referenced Files
F19007298: D15433.diff
Nov 21 2025, 7:33 PM
F18984892: D15433.id.diff
Nov 17 2025, 12:47 PM
F18854632: D15433.diff
Nov 1 2025, 12:24 AM
F18819766: D15433.id.diff
Oct 22 2025, 9:21 AM
F18815006: D15433.diff
Oct 21 2025, 12:24 AM
F18808864: D15433.id37198.diff
Oct 19 2025, 9:16 AM
F18776804: D15433.id.diff
Oct 10 2025, 11:33 PM
F18770732: D15433.id37198.diff
Oct 8 2025, 2:28 PM
Subscribers
None

Details

Summary

See D15432. There, we can use this test to check if the user could reassign the task by using "Edit Form" or the stacked actions, so any dedicated "claim" element is consistent with the other permissions.

Test Plan
  • Added a var_dump($can_reassign) after the call.
  • Saw true.
  • Edited the edit form, locked and disabled "Assigned To".
  • Saw false.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Allow applications to test if a user could edit a certain field by clicking "Edit Thing".
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Mar 8 2016, 3:16 PM
This revision was automatically updated to reflect the committed changes.