Merge pull request !2424 from wellinleo/master
This commit is contained in:
openharmony_ci 2024-11-17 14:20:26 +00:00 committed by Gitee
commit ece2dedc60
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -66,6 +66,7 @@ Session SessionManager::GetSession(const SessionPoint &from, const std::string &
return session;
}
for (const auto &user : users) {
aclParams.accCallee.userId = user.id;
auto [isPermitted, isSameAccount] = AuthDelegate::GetInstance()->CheckAccess(from.userId, user.id,
targetDeviceId, aclParams);
if (isPermitted) {