| 681 | |
| 682 | |
| 683 | void Session::MoveToOwner(const uid_t from_uid, const uid_t to_uid) |
| 684 | { |
| 685 | object_acl->TransferOwnership(to_uid); |
| 686 | object_acl->GrantAccess(from_uid); |
| 687 | restrict_log_access = false; // The previous owner can receive log events |
| 688 | sig_session->LogInfo("Ownership changed from " + lookup_username(from_uid) |
| 689 | + " to " + lookup_username(to_uid) |
| 690 | + " on " + GetPath()); |
| 691 | } |
| 692 | |
| 693 | |
| 694 | void Session::method_ready(DBus::Object::Method::Arguments::Ptr args) |
no test coverage detected