@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<?php
2
3final class HarbormasterCreatePlansCapability
4 extends PhabricatorPolicyCapability {
5
6 const CAPABILITY = 'harbormaster.plans';
7
8 public function getCapabilityName() {
9 return pht('Can Create Build Plans');
10 }
11
12 public function describeCapabilityRejection() {
13 return pht(
14 'You do not have permission to create Harbormaster build plans.');
15 }
16
17}