From c2606b22959f463de6e7cff322e68a396a1478c6 Mon Sep 17 00:00:00 2001 From: Gerald Baulig Date: Wed, 25 Nov 2026 10:52:25 +0100 Subject: [PATCH 1/2] fix(node): set node version for 'n' users --- .node-version | 1 + mise.toml | 2 +- packages/acs-client/src/acs/authz.ts | 11 +++++------ 3 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 .node-version diff --git a/.node-version b/.node-version new file mode 100644 index 000000000..978b4e8e5 --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +26 \ No newline at end of file diff --git a/mise.toml b/mise.toml index 716b1b5b1..5c381671a 100644 --- a/mise.toml +++ b/mise.toml @@ -1,2 +1,2 @@ [tools] -node = "22.18.0" +node = "26" diff --git a/packages/acs-client/src/acs/authz.ts b/packages/acs-client/src/acs/authz.ts index c8775cbd9..c400bd62e 100644 --- a/packages/acs-client/src/acs/authz.ts +++ b/packages/acs-client/src/acs/authz.ts @@ -296,16 +296,15 @@ export class UnAuthZ implements IAuthZ { * General authorizer. Marshalls data and requests access to the Access Control Service (ACS). */ export class ACSAuthZ implements IAuthZ { - acs: AccessControlServiceClient; - ownershipDomain: OwnershipDomainServiceClient; /** * * @param acs Access Control Service definition (gRPC) + * @param ownershipDomain */ - constructor(acs: AccessControlServiceClient, ownernshipDomain: OwnershipDomainServiceClient) { - this.acs = acs; - this.ownershipDomain = ownernshipDomain; - } + constructor( + public readonly acs: AccessControlServiceClient, + public readonly ownershipDomain: OwnershipDomainServiceClient + ) {} /** * Perform request to access-control-srv From 035bd0187efae15dccfb3e467244e880e775c425 Mon Sep 17 00:00:00 2001 From: Gerald Baulig Date: Wed, 25 Nov 2026 11:16:57 +0100 Subject: [PATCH 2/2] fix(acs-client): allow individual config for ODClient (cruical for mocking) --- packages/acs-client/src/acs/authz.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/acs-client/src/acs/authz.ts b/packages/acs-client/src/acs/authz.ts index c400bd62e..2dc80fae6 100644 --- a/packages/acs-client/src/acs/authz.ts +++ b/packages/acs-client/src/acs/authz.ts @@ -524,7 +524,8 @@ export const initAuthZ = async (config?: any, logger?: Logger): Promise