@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.

Check that the viewer can actually create badges before letting them create badges

Summary: Fixes T9467.

Test Plan: Set policy to "no one", got blocked.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9467

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

+3
+3
src/applications/badges/controller/PhabricatorBadgesEditController.php
··· 22 22 } 23 23 $is_new = false; 24 24 } else { 25 + $this->requireApplicationCapability( 26 + PhabricatorBadgesCreateCapability::CAPABILITY); 27 + 25 28 $badge = PhabricatorBadgesBadge::initializeNewBadge($viewer); 26 29 $is_new = true; 27 30 }