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
Unknown Object (File)
Tue, Mar 19, 6:57 PM
Unknown Object (File)
Thu, Mar 7, 6:07 AM
Unknown Object (File)
Thu, Mar 7, 6:07 AM
Unknown Object (File)
Tue, Mar 5, 7:01 PM
Unknown Object (File)
Mon, Mar 4, 9:54 AM
Unknown Object (File)
Feb 15 2024, 8:10 PM
Unknown Object (File)
Feb 12 2024, 4:02 PM
Unknown Object (File)
Feb 3 2024, 3:38 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.