@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 35 lines 757 B view raw
1<?php 2 3final class PhabricatorPolicyApplication extends PhabricatorApplication { 4 5 public function getName() { 6 return pht('Policy'); 7 } 8 9 public function isLaunchable() { 10 return false; 11 } 12 13 public function canUninstall() { 14 return false; 15 } 16 17 public function getRoutes() { 18 return array( 19 '/policy/' => array( 20 'explain/(?P<phid>[^/]+)/(?P<capability>[^/]+)/' 21 => 'PhabricatorPolicyExplainController', 22 'edit/'. 23 '(?:'. 24 'object/(?P<objectPHID>[^/]+)'. 25 '|'. 26 'type/(?P<objectType>[^/]+)'. 27 '|'. 28 'template/(?P<templateType>[^/]+)'. 29 ')/'. 30 '(?:(?P<phid>[^/]+)/)?' => 'PhabricatorPolicyEditController', 31 ), 32 ); 33 } 34 35}