Homec4science

Allow applications to test if a user could edit a certain field by clicking…

Authored by epriestley <git@epriestley.com> on Mar 8 2016, 13:42.

Description

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

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.

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D15433

Details

Committed
epriestley <git@epriestley.com>Mar 8 2016, 19:29
Pushed
aubortJan 31 2017, 17:16
Parents
rPHd653b125b526: Add back calendar comment form
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH8a7c96390862: Allow applications to test if a user could edit a certain field by clicking… (authored by epriestley <git@epriestley.com>).Mar 8 2016, 19:29