Page MenuHomePhabricator

Modernize OAuthserver and provide more context on "no permission" exception
ClosedPublic

Authored by epriestley on Sep 3 2015, 3:47 PM.
Tags
None
Referenced Files
F17296737: D14050.id33959.diff
Thu, Jun 26, 4:47 AM
Unknown Object (File)
Wed, Jun 18, 1:25 PM
Unknown Object (File)
Tue, Jun 17, 5:57 AM
Unknown Object (File)
May 25 2025, 6:28 AM
Unknown Object (File)
May 8 2025, 12:32 AM
Unknown Object (File)
May 7 2025, 5:15 PM
Unknown Object (File)
Apr 29 2025, 2:09 AM
Unknown Object (File)
Apr 28 2025, 3:30 AM
Subscribers
None

Details

Summary

Ref T7173. Depends on D14049. Now that Phacility can install custom exception handlers, this puts enough information on the exception so that we can figure out what to do with it.

  • Generally modernize some of this code.
  • Add some more information to PolicyExceptions so the new RequestExceptionHandler can handle them properly.
Test Plan

Failed authorizations, then succeeded authorizations. See next diff.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Modernize OAuthserver and provide more context on "no permission" exception.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
epriestley added a child revision: Restricted Differential Revision.Sep 3 2015, 3:50 PM
chad edited edge metadata.
This revision is now accepted and ready to land.Sep 3 2015, 4:05 PM
epriestley edited edge metadata.
  • Fix an unrelated Fund issue with handling of bad data.
  • Provide a little more context on policy exceptions.
This revision was automatically updated to reflect the committed changes.