HomePhabricator

Add a "lock task" button to maniphest tasks

This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Add a "lock task" button to maniphest tasks

Projects: Phabricator, Security

Maniphest Tasks: T125104

Summary:
Refs T125104. This is based on example code provided by
@epriestley.

I've overhauled the UI and thoroughly tested everything. I think it's ready to go.

Test Plan:
Created a regular task, saw that it was publically viewable. Clicked escalate then submitted the form.
Saw that task is now protected with the appropriate view policy and has Security project added.

Reviewers: csteipp

Subscribers: epriestley, csteipp

Differential Revision: https://phabricator.wikimedia.org/D113