181 logVaultAccess fix

This commit is contained in:
2025-11-28 17:12:12 +03:00
parent a8fc4829cc
commit db40a821dd
+5 -3
View File
@@ -52,7 +52,7 @@
//variables.framework.docs={}; //variables.framework.docs={};
variables.framework.docs.APIName="svc-api"; variables.framework.docs.APIName="svc-api";
variables.framework.docs.APIVersion="0.180"; /*$ git config --global --unset user.password*/ variables.framework.docs.APIVersion="0.181"; /*$ git config --global --unset user.password*/
variables.framework.globalHeaders = structNew(); variables.framework.globalHeaders = structNew();
variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location"; variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location";
@@ -81,8 +81,8 @@
request.auth_header=""; request.auth_header="";
request.locateIamService=locateIamService; //for possible debug request.locateIamService=locateIamService; //for possible debug
//request.IAM_SERVICE_URL=this.iamServiceUrl; //request.IAM_SERVICE_URL=this.iamServiceUrl; // так не работает!
request.iam_service_url=this.iamServiceUrl;
</cfscript> </cfscript>
@@ -236,6 +236,8 @@
//} //}
//if (UCase(arguments.verb) EQ 'OPTIONS') return newRepresentation().noData().withStatus("204","No Data").withHeaders({"Content-Type":"application/json;charset=utf-8"}); //if (UCase(arguments.verb) EQ 'OPTIONS') return newRepresentation().noData().withStatus("204","No Data").withHeaders({"Content-Type":"application/json;charset=utf-8"});
request.iam_service_url=this.iamServiceUrl;
if (uCase(arguments.verb) EQ 'OPTIONS') return true; if (uCase(arguments.verb) EQ 'OPTIONS') return true;
if (lCase(arguments.cfc) EQ 'err') return true; if (lCase(arguments.cfc) EQ 'err') return true;
if (lCase(arguments.cfc) EQ 'throw') return true; if (lCase(arguments.cfc) EQ 'throw') return true;