Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14842554
D17852.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
575 B
Referenced Files
None
Subscribers
None
D17852.diff
View Options
diff --git a/src/applications/phortune/editor/PhortuneMerchantEditEngine.php b/src/applications/phortune/editor/PhortuneMerchantEditEngine.php
--- a/src/applications/phortune/editor/PhortuneMerchantEditEngine.php
+++ b/src/applications/phortune/editor/PhortuneMerchantEditEngine.php
@@ -65,6 +65,11 @@
return false;
}
+ protected function getCreateNewObjectPolicy() {
+ return $this->getApplication()->getPolicy(
+ PhortuneMerchantCapability::CAPABILITY);
+ }
+
protected function buildCustomEditFields($object) {
$viewer = $this->getViewer();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 3, 12:15 AM (11 h, 20 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7085652
Default Alt Text
D17852.diff (575 B)
Attached To
Mode
D17852: Restrict PhortuneMerchant creation at EditEngine level
Attached
Detach File
Event Timeline
Log In to Comment