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

Allow logged-out users to accept invites on nonpublic installs

Summary:
If your install isn't public, users can't see the Auth or People applications while logged out, so we can't load their invites.

Allow this query to go through no matter who the viewing user is.

Test Plan: Invite flow on `admin.phacility.com` now works better.

Reviewers: chad, btrahan

Reviewed By: btrahan

Subscribers: epriestley

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

+3 -1
+3 -1
src/applications/auth/query/PhabricatorAuthInviteQuery.php
··· 108 108 } 109 109 110 110 public function getQueryApplicationClass() { 111 - return 'PhabricatorAuthApplication'; 111 + // NOTE: This query is issued by logged-out users, who often will not be 112 + // able to see applications. They still need to be able to see invites. 113 + return null; 112 114 } 113 115 114 116 }