Page MenuHomePhabricator

D14310.id34542.diff
No OneTemporary

D14310.id34542.diff

diff --git a/src/applications/meta/controller/PhabricatorApplicationEditController.php b/src/applications/meta/controller/PhabricatorApplicationEditController.php
--- a/src/applications/meta/controller/PhabricatorApplicationEditController.php
+++ b/src/applications/meta/controller/PhabricatorApplicationEditController.php
@@ -145,7 +145,12 @@
->setViewer($user)
->setObject($template_object)
->execute();
- $control->setPolicies($template_policies);
+
+ // NOTE: We want to expose both any object template policies
+ // (like "Subscribers") and any custom policy.
+ $all_policies = $template_policies + $policies;
+
+ $control->setPolicies($all_policies);
$control->setTemplateObject($template_object);
}
}

File Metadata

Mime Type
text/plain
Expires
Tue, Oct 22, 11:08 AM (4 w, 1 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6734071
Default Alt Text
D14310.id34542.diff (864 B)

Event Timeline