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
F15454712: D15433.id37198.diff
Sat, Mar 29, 7:54 PM
F15453933: D15433.id37209.diff
Sat, Mar 29, 3:12 PM
F15443986: D15433.id.diff
Thu, Mar 27, 7:12 AM
F15442130: D15433.diff
Wed, Mar 26, 9:42 PM
F15433673: D15433.id.diff
Tue, Mar 25, 12:16 AM
F15415620: D15433.id37198.diff
Thu, Mar 20, 7:01 AM
F15411487: D15433.id37209.diff
Wed, Mar 19, 9:19 AM
F15394987: D15433.id37209.diff
Sun, Mar 16, 2:34 AM
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.