File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed
applications/maniphest/storage
infrastructure/storage/patch Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ ALTER TABLE {$NAMESPACE}_maniphest .maniphest_task
2
+ ADD viewPolicy VARCHAR (64 ) NOT NULL COLLATE utf8_bin;
3
+
4
+ ALTER TABLE {$NAMESPACE}_maniphest .maniphest_task
5
+ ADD editPolicy VARCHAR (64 ) NOT NULL COLLATE utf8_bin;
6
+
7
+ UPDATE {$NAMESPACE}_maniphest .maniphest_task
8
+ SET viewPolicy = ' users' WHERE viewPolicy = ' ' ;
9
+
10
+ UPDATE {$NAMESPACE}_maniphest .maniphest_task
11
+ SET editPolicy = ' users' WHERE editPolicy = ' ' ;
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ final class ManiphestTask extends ManiphestDAO
27
27
protected $ description = '' ;
28
28
protected $ originalEmailSource ;
29
29
protected $ mailKey ;
30
+ protected $ viewPolicy = PhabricatorPolicies::POLICY_USER ;
31
+ protected $ editPolicy = PhabricatorPolicies::POLICY_USER ;
30
32
31
33
protected $ attached = array ();
32
34
protected $ projectPHIDs = array ();
Original file line number Diff line number Diff line change @@ -1628,6 +1628,10 @@ public function getPatches() {
1628
1628
'type ' => 'sql ' ,
1629
1629
'name ' => $ this ->getPatchPath ('20130924.mdraftkey.sql ' ),
1630
1630
),
1631
+ '20130925.mpolicy.sql ' => array (
1632
+ 'type ' => 'sql ' ,
1633
+ 'name ' => $ this ->getPatchPath ('20130925.mpolicy.sql ' ),
1634
+ ),
1631
1635
);
1632
1636
}
1633
1637
}
You can’t perform that action at this time.
0 commit comments