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
F14313415: D14050.diff
Wed, Dec 18, 4:11 AM
Unknown Object (File)
Fri, Dec 6, 12:43 PM
Unknown Object (File)
Thu, Dec 5, 12:12 PM
Unknown Object (File)
Thu, Dec 5, 11:21 AM
Unknown Object (File)
Wed, Nov 27, 3:14 AM
Unknown Object (File)
Sat, Nov 23, 8:45 AM
Unknown Object (File)
Nov 18 2024, 6:38 PM
Unknown Object (File)
Nov 15 2024, 4:08 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.