Signed-off-by: yangliu <yangliu178@huawei.com>
This commit is contained in:
yangliu 2024-11-17 20:12:57 +08:00
parent af066daaa7
commit 150fd03a57

View File

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