Page MenuHomePhabricator

D8423.diff
No OneTemporary

D8423.diff

Index: src/applications/phame/controller/post/PhamePostEditController.php
===================================================================
--- src/applications/phame/controller/post/PhamePostEditController.php
+++ src/applications/phame/controller/post/PhamePostEditController.php
@@ -36,6 +36,11 @@
$blog = id(new PhameBlogQuery())
->setViewer($user)
->withIDs(array($request->getInt('blog')))
+ ->requireCapabilities(
+ array(
+ PhabricatorPolicyCapability::CAN_VIEW,
+ PhabricatorPolicyCapability::CAN_JOIN,
+ ))
->executeOne();
if (!$blog) {
return new Aphront404Response();

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 7:29 AM (1 d, 14 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6716580
Default Alt Text
D8423.diff (679 B)

Event Timeline