1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 18:28:47 +02:00
phorge-phorge/src/applications/oauthserver/storage
epriestley 34c890b7e1 Use modern UI and policies in OAuth client editing
Summary:
Updates this stuff a bit:

  - Add a global create permission for OAuth applications. The primary goal is to reduce attack surface area by making it more difficult for an adversary to do anything which requires that they create and configure an OAuth application/client. Normal users shouldn't generally need to create applications, OAuth is complex, and doing things with user accounts is inherently somewhat administrative.
  - Use normal policies to check create and edit permissions, now that we have infrastructure for it.
  - Use modern UI kit.

Test Plan:
  - Created a client.
  - Edited a client.
  - Tried to create a client as a non-admin.
  - Tried to edit a client I don't own.

{F131511}

{F131512}

{F131513}

{F131514}

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D8562
2014-03-18 13:30:48 -07:00
..
PhabricatorOAuthClientAuthorization.php Make OAuth client authorizations a Settings panel 2014-03-18 13:28:19 -07:00
PhabricatorOAuthServerAccessToken.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorOAuthServerAuthorizationCode.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorOAuthServerClient.php Use modern UI and policies in OAuth client editing 2014-03-18 13:30:48 -07:00
PhabricatorOAuthServerDAO.php Delete license headers from files 2012-11-05 11:16:51 -08:00