ioc: ACF fix write permit when groups are present

Allow operation if any credential is acceptable.
This commit is contained in:
Michael Davidsaver
2024-07-08 11:04:09 -07:00
parent d18e2d7e35
commit 46ee1a6917
+1 -1
View File
@@ -40,7 +40,7 @@ SecurityClient::~SecurityClient() {
}
bool SecurityClient::canWrite() const {
return std::all_of(cli.begin(), cli.end(), [](ASCLIENTPVT asc) {
return std::any_of(cli.begin(), cli.end(), [](ASCLIENTPVT asc) {
return asCheckPut(asc);
});
}