mirror of
https://gitee.com/openharmony/distributeddatamgr_datamgr_service
synced 2024-11-23 06:50:35 +00:00
update
Signed-off-by: yangliu <yangliu178@huawei.com>
This commit is contained in:
parent
af066daaa7
commit
150fd03a57
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user