Fixed privilege level checking
authorJihoon Chung <jihoon.chung@samsung.com>
Tue, 7 May 2013 14:04:04 +0000 (23:04 +0900)
committerJihoon Chung <jihoon.chung@samsung.com>
Wed, 8 May 2013 11:51:21 +0000 (20:51 +0900)
[Issue#] TDIS-5461
[Problem] Unable to disable widget installed with declared one or more partner API privileges in configuration file
[Cause] Caused by the missing code to check the results of the privilege level check
[Solution] Modify source code to check privilege level whether to proceed instll or not
[SCMRequest] N/A

Change-Id: Ic8b96cb24fe23d480f8fb004f155f2c434fb402a

src/misc/feature_logic.cpp

index aa8b873..18b640b 100644 (file)
@@ -79,8 +79,7 @@ void FeatureLogic::setAceResponse(bool allowed)
     Assert(isProcessable() && "Wrong usage");
     if (!allowed) {
         m_currentFeature->rejected = true;
-        // TODO: checking tizen specification regarding security for insatlling
-        // m_rejected = true;
+        m_rejected = true;
     }
 }