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
F18819766: D15433.id.diff
Wed, Oct 22, 9:21 AM
F18815006: D15433.diff
Tue, Oct 21, 12:24 AM
F18808864: D15433.id37198.diff
Sun, Oct 19, 9:16 AM
F18776804: D15433.id.diff
Fri, Oct 10, 11:33 PM
F18770732: D15433.id37198.diff
Wed, Oct 8, 2:28 PM
F18764660: D15433.id37209.diff
Tue, Oct 7, 7:08 AM
F18705175: D15433.id37198.diff
Sep 28 2025, 10:25 AM
F18674086: D15433.diff
Sep 25 2025, 1:14 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.