1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-26 05:29:06 +01:00
phorge-phorge/src/applications/oauthserver
epriestley 8dfc7d4201 Allow OAuth applications to be disabled instead of destroyed
Summary: Ref T7303. This interaction is very oldschool; modernize it to enable/disable instead of "nuke from orbit".

Test Plan:
  - Enabled applications.
  - Disabled applications.
  - Viewed applications in list view.
  - Generated new tokens.
  - Tried to use a token from a disabled application (got rebuffed).
  - Tried to use a token from an enabled application (worked fine).

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T7303

Differential Revision: https://secure.phabricator.com/D15620
2016-04-05 13:22:05 -07:00
..
__tests__ phtize all the things 2015-05-22 21:16:39 +10:00
application Allow OAuth applications to be disabled instead of destroyed 2016-04-05 13:22:05 -07:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
controller Allow OAuth applications to be disabled instead of destroyed 2016-04-05 13:22:05 -07:00
editor Allow OAuth applications to be disabled instead of destroyed 2016-04-05 13:22:05 -07:00
panel Merge branch 'master' into redesign-2015 2015-05-22 12:57:32 -07:00
phid Mark PhabricatorPHIDType::getPHIDTypeApplicationClass() as abstract 2015-11-03 06:47:12 +11:00
query Allow OAuth applications to be disabled instead of destroyed 2016-04-05 13:22:05 -07:00
storage Allow OAuth applications to be disabled instead of destroyed 2016-04-05 13:22:05 -07:00
PhabricatorOAuthResponse.php Linter fixes 2015-12-03 07:44:23 +11:00
PhabricatorOAuthServer.php Allow OAuth applications to be disabled instead of destroyed 2016-04-05 13:22:05 -07:00
PhabricatorOAuthServerScope.php Begin cleaning up OAuth scope handling 2016-04-04 09:11:51 -07:00