diff --git a/services/distributeddataservice/app/src/session_manager/session_manager.cpp b/services/distributeddataservice/app/src/session_manager/session_manager.cpp index cc3258017..8322720d4 100644 --- a/services/distributeddataservice/app/src/session_manager/session_manager.cpp +++ b/services/distributeddataservice/app/src/session_manager/session_manager.cpp @@ -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) {