1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 12:52:42 +01:00

Make the default Phriction view migration policy just "Users"

This is consistent with the old policy and more consistent with how other
objects have been migrated into policies.

Auditors: btrahan
This commit is contained in:
epriestley 2014-11-07 15:46:02 -08:00
parent 2e13a31722
commit 3fa8b152b6

View file

@ -5,7 +5,7 @@ $conn_w = $table->establishConnection('w');
echo "Populating Phriction policies.\n";
$default_view_policy = PhabricatorPolicies::getMostOpenPolicy();
$default_view_policy = PhabricatorPolicies::POLICY_USER;
$default_edit_policy = PhabricatorPolicies::POLICY_USER;
foreach (new LiskMigrationIterator($table) as $doc) {