mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 23:32:40 +01:00
a6c4117ec4
Summary: Ref T603. I had to partially revert this earlier because it accidentally blocked access to Conduit and File data for installs without "policy.allow-public", since the applications are available to "all users" but some endpoints actually need to be available even when not logged in. This readjusts the gating in the controller to properly apply application visibility restrictions, and then adds a giant pile of unit test coverage to make sure it sticks and all the weird cases are covered. Test Plan: - Added and executed unit tests. - Executed most of the tests manually, by using logged in / admin / public / disabled users. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T603 Differential Revision: https://secure.phabricator.com/D7211 |
||
---|---|---|
.. | ||
__tests__ | ||
PhabricatorConfigDatabaseSource.php | ||
PhabricatorConfigDefaultSource.php | ||
PhabricatorConfigDictionarySource.php | ||
PhabricatorConfigFileSource.php | ||
PhabricatorConfigLocalSource.php | ||
PhabricatorConfigProxySource.php | ||
PhabricatorConfigSource.php | ||
PhabricatorConfigStackSource.php | ||
PhabricatorEnv.php | ||
PhabricatorScopedEnv.php |