Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15332754
D14619.id35365.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D14619.id35365.diff
View Options
diff --git a/src/applications/phame/controller/blog/PhameBlogManageController.php b/src/applications/phame/controller/blog/PhameBlogManageController.php
--- a/src/applications/phame/controller/blog/PhameBlogManageController.php
+++ b/src/applications/phame/controller/blog/PhameBlogManageController.php
@@ -2,6 +2,10 @@
final class PhameBlogManageController extends PhameBlogController {
+ public function shouldAllowPublic() {
+ return true;
+ }
+
public function handleRequest(AphrontRequest $request) {
$viewer = $request->getViewer();
$id = $request->getURIData('id');
diff --git a/src/applications/phame/controller/blog/PhameBlogViewController.php b/src/applications/phame/controller/blog/PhameBlogViewController.php
--- a/src/applications/phame/controller/blog/PhameBlogViewController.php
+++ b/src/applications/phame/controller/blog/PhameBlogViewController.php
@@ -4,6 +4,10 @@
private $blog;
+ public function shouldAllowPublic() {
+ return true;
+ }
+
public function handleRequest(AphrontRequest $request) {
$viewer = $request->getViewer();
$id = $request->getURIData('id');
@@ -158,9 +162,7 @@
id(new PhabricatorActionView())
->setIcon('fa-pencil')
->setHref($this->getApplicationURI('blog/manage/'.$blog->getID().'/'))
- ->setName(pht('Manage Blog'))
- ->setDisabled(!$can_edit)
- ->setWorkflow(!$can_edit));
+ ->setName(pht('Manage Blog')));
return $actions;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 8, 8:02 PM (3 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7384171
Default Alt Text
D14619.id35365.diff (1 KB)
Attached To
Mode
D14619: Allow builtin Phame UI to be publicly viewable
Attached
Detach File
Event Timeline
Log In to Comment