Page MenuHomePhabricator

D14310.diff
No OneTemporary

D14310.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
Oct 19 2024, 10:13 PM (4 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6734071
Default Alt Text
D14310.diff (864 B)

Event Timeline