@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Disable the "Edit Project" button for users without edit permissions

Summary: Self-explanatory.

Test Plan: Viewed the project page as a user without edit permissions and saw the link greyed out.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D13255

+2 -1
+2 -1
src/applications/project/controller/PhabricatorProjectProfileController.php
··· 91 91 id(new PhabricatorActionView()) 92 92 ->setName(pht('Edit Details')) 93 93 ->setIcon('fa-pencil') 94 - ->setHref($this->getApplicationURI("details/{$id}/"))); 94 + ->setHref($this->getApplicationURI("details/{$id}/")) 95 + ->setDisabled(!$can_edit)); 95 96 96 97 $view->addAction( 97 98 id(new PhabricatorActionView())