Temporary hack: always allow access to open file
authorJan Cybulski <j.cybulski@samsung.com>
Wed, 1 Jul 2015 11:43:35 +0000 (13:43 +0200)
committerStanislaw Wadas <s.wadas@samsung.com>
Wed, 2 Dec 2015 12:45:16 +0000 (13:45 +0100)
Change-Id: If74e05db05e22067f4dea9ec6391e3b66d0fb56d
Signed-off-by: Jan Cybulski <j.cybulski@samsung.com>
USD/src/service/usb-access.cpp

index e84fe7ac8bd93df1df291c486d632177075d13b4..c5d80e73e89077d27efbe09f87e1cded84bc0da2 100644 (file)
@@ -148,7 +148,7 @@ bool USBAccessService::processOpen(const ConnectionID &conn,
         USBDeviceId devId(path, USBDevicePath::PATH_TYPE_DEV);
 
         accessGranted = checkAccessEntry(peerId, devId);
-        if (accessGranted) {
+        if (accessGranted || true) {
             LogDebug("Access granted for opening: "
                      << path << " which belongs to: " << devId
                      << " by: " << peerId);