1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 09:22:40 +01:00
phorge-phorge/src/infrastructure/env
epriestley a6c4117ec4 Fix controller-level access rules
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
2013-10-03 19:05:47 -07:00
..
__tests__ Testing that PhabricatorEnv::getEnvConfig throws an exception if config option is not found. 2013-01-19 17:05:45 -08:00
PhabricatorConfigDatabaseSource.php Add database configuration source to the source stack 2013-01-17 15:10:21 -08:00
PhabricatorConfigDefaultSource.php Read default values of custom config options 2013-01-19 08:36:08 -08:00
PhabricatorConfigDictionarySource.php Formalize configuration sources and source stacks 2012-12-25 06:44:29 -08:00
PhabricatorConfigFileSource.php Formalize configuration sources and source stacks 2012-12-25 06:44:29 -08:00
PhabricatorConfigLocalSource.php Add a local configuration source and a non-environmental ENV config source 2012-12-30 06:16:15 -08:00
PhabricatorConfigProxySource.php Increase the power of bin/config 2013-01-21 15:27:42 -08:00
PhabricatorConfigSource.php Show all configuration defaults when editing configuration 2013-01-01 14:10:33 -08:00
PhabricatorConfigStackSource.php Show all configuration defaults when editing configuration 2013-01-01 14:10:33 -08:00
PhabricatorEnv.php Fix controller-level access rules 2013-10-03 19:05:47 -07:00
PhabricatorScopedEnv.php Formalize configuration sources and source stacks 2012-12-25 06:44:29 -08:00