Page MenuHomePhabricator

D14310.id34541.diff
No OneTemporary

D14310.id34541.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
Mon, Oct 21, 3:47 AM (4 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6734071
Default Alt Text
D14310.id34541.diff (864 B)

Event Timeline