mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
Fix bad "editPolicy" key in Paste
Summary: Fixes T12508. Files don't have an `editPolicy`, and we started actually checking that the keys are real things in D17616. Test Plan: - Before patch: created a paste, got an "editPolicy" exception. - After patch: created a paste that worked properly. Reviewers: avivey, chad Reviewed By: avivey Maniphest Tasks: T12508 Differential Revision: https://secure.phabricator.com/D17628
This commit is contained in:
parent
f2a26b2601
commit
2f4ff6a850
1 changed files with 0 additions and 1 deletions
|
@ -79,7 +79,6 @@ final class PhabricatorPasteContentTransaction
|
|||
'mime-type' => 'text/plain; charset=utf-8',
|
||||
'authorPHID' => $actor->getPHID(),
|
||||
'viewPolicy' => PhabricatorPolicies::POLICY_NOONE,
|
||||
'editPolicy' => PhabricatorPolicies::POLICY_NOONE,
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue