1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 20:52:43 +01:00
phorge-phorge/src/applications/policy/__tests__
epriestley 57cce93e5a Add user omnipotence
Summary:
Daemons (and probably a few other things) need to make queries without having a real user. Introduce a formal omnipotent user who can bypass any policy restriction.

(I called this "ominpotent" rather than "omniscient" because it can bypass CAN_EDIT, CAN_JOIN, etc. "Omnicapable" might be a better word, but AFAIK is not a real word.)

Test Plan: Unit tests.

Reviewers: vrana, edward

Reviewed By: edward

CC: aran

Maniphest Tasks: T603

Differential Revision: https://secure.phabricator.com/D5149
2013-02-28 11:01:40 -08:00
..
PhabricatorPolicyAwareTestQuery.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorPolicyTestCase.php Add user omnipotence 2013-02-28 11:01:40 -08:00
PhabricatorPolicyTestObject.php Delete license headers from files 2012-11-05 11:16:51 -08:00