@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
at upstream/main 17 lines 373 B view raw
1<?php 2 3final class AuthManageProvidersCapability 4 extends PhabricatorPolicyCapability { 5 6 const CAPABILITY = 'auth.manage.providers'; 7 8 public function getCapabilityName() { 9 return pht('Can Manage Auth Providers'); 10 } 11 12 public function describeCapabilityRejection() { 13 return pht( 14 'You do not have permission to manage authentication providers.'); 15 } 16 17}