Skip to content

Commit

Permalink
ioc: ACF fix write permit when groups are present
Browse files Browse the repository at this point in the history
Allow operation if any credential is acceptable.
  • Loading branch information
mdavidsaver committed Jul 8, 2024
1 parent d18e2d7 commit 46ee1a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ioc/securityclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}
Expand Down

0 comments on commit 46ee1a6

Please sign in to comment.