From: Jihoon Chung Date: Tue, 7 May 2013 14:04:04 +0000 (+0900) Subject: Fixed privilege level checking X-Git-Tag: submit/tizen_2.2/20130716.180435~1^2~150 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cf304728d2c524689f06a1c7f31c82cde66e28c4;p=framework%2Fweb%2Fwrt-installer.git Fixed privilege level checking [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 --- diff --git a/src/misc/feature_logic.cpp b/src/misc/feature_logic.cpp index aa8b873..18b640b 100644 --- a/src/misc/feature_logic.cpp +++ b/src/misc/feature_logic.cpp @@ -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; } }