Skip to content

Commit

Permalink
fix(test): fix test configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Jul 12, 2024
1 parent b56b8e0 commit cd91ec5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/accessController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ export class AccessController {

const method = this.combiningAlgorithms.get(policySet.combining_algorithm);
if (policyEffects?.length > 0) {
const e = this.decide(method, policyEffects);
const e = this.decide(policySet.combining_algorithm, policyEffects);
/**
* Propagate the internal combiningAlgorithm to the outer level!
* Policy-Sets of hte same nature will combine their results and act as one.
Expand Down
5 changes: 3 additions & 2 deletions test/cfg/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@
"urn": "urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:first-applicable",
"method": "firstApplicable"
}
]
],
"prioritizedAlgorithm": "denyOverrides"
}
},
"adapter": {
Expand Down Expand Up @@ -210,7 +211,7 @@
"logger": {
"console": {
"handleExceptions": false,
"level": "silly",
"level": "crit",
"colorize": true,
"prettyPrint": true
},
Expand Down

0 comments on commit cd91ec5

Please sign in to comment.