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

People: add a permalink to list Administrators

Summary:
This change introduces a builting query to easily list
Administrators of your beautiful Phorge instance:

{F277912}

Note that any builtin query can be disabled anytime or
reordered, so this is not a problem if you already have
a similar saved query. But probably you have not.

The goal is not to just "have a link" (this was already
possible) but to have a predictable link to be used in
any instance-agnostic document, including but not
limited to Diviner or Phorge's user interface messages.

Closes T15238

Test Plan: Visit /people/query/admin/ and enjoy.

Reviewers: O1 Blessed Committers, Cigaryno, Matthew

Reviewed By: O1 Blessed Committers, Cigaryno, Matthew

Subscribers: speck, tobiaswiese, Matthew, Cigaryno

Maniphest Tasks: T15238

Differential Revision: https://we.phorge.it/D25116

+4
+4
src/applications/people/query/PhabricatorPeopleSearchEngine.php
··· 200 200 protected function getBuiltinQueryNames() { 201 201 $names = array( 202 202 'active' => pht('Active'), 203 + 'admin' => pht('Administrators'), 203 204 'all' => pht('All'), 204 205 ); 205 206 ··· 221 222 case 'active': 222 223 return $query 223 224 ->setParameter('isDisabled', false); 225 + case 'admin': 226 + return $query 227 + ->setParameter('isAdmin', true); 224 228 case 'approval': 225 229 return $query 226 230 ->setParameter('needsApproval', true)