daml/ledger/ledger-api-common
tudor-da f9e67adafc
[Self-service error codes] Adapt error responses in ledger-api-auth [DPP-617] (#11223)
* [Self-service error codes] Implement V2 in Authorizer

CHANGELOG_BEGIN
CHANGELOG_END

* Added unit test for authorize (non-streamed)

* Fix after rebase

* Do not expose the error codes switching mechanism to the Java bindings

* Adjust InternalAuthorizationError to be SystemInternalAssumptionViolated

* Parameter names in test

* Testing AuthorizationInterceptor with regard to returned error codes

* Do not use default error code version switchers at instance creation

* Addressed Pawel's review comments

* Using ErrorFactories for error dispatching

* Pass loggingContext to Authorizer where available

* Generic internal authorization error
2021-10-20 13:28:21 +00:00
..
src [Self-service error codes] Adapt error responses in ledger-api-auth [DPP-617] (#11223) 2021-10-20 13:28:21 +00:00
BUILD.bazel [Self-service error codes] Adapt error factories [DPP-656] (#11270) 2021-10-18 16:46:20 +02:00