Added mechanism to just check a single acs

This commit is contained in:
Nathan Byrd 2023-09-08 13:42:15 +00:00
parent 2a43f20287
commit c966f46bc6
1 changed files with 4 additions and 0 deletions

View File

@ -87,6 +87,10 @@ class ACS {
} }
} }
matches(acs) {
return checkAcs(acs, {subject: this.subject});
}
getConditionalValue(condArray, memberName) { getConditionalValue(condArray, memberName) {
if (!Array.isArray(condArray)) { if (!Array.isArray(condArray)) {
// no cond array, just use the value // no cond array, just use the value