From: Yunjin Lee Date: Tue, 18 Dec 2018 05:37:13 +0000 (+0900) Subject: Change mapping table of web filesystem.read and filesystem.write X-Git-Tag: submit/tizen/20181219.022100~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea14d353aa7da03e9b77a88a56e127712934583f;p=platform%2Fcore%2Fsecurity%2Fprivilege-checker.git Change mapping table of web filesystem.read and filesystem.write - Add core privilege filesystem.read and filesystem.write to resolve native and web privilege level mismatch. - Web filesystem.read and filesystem.write are public level privilege and native systemsettings.admin is platform level privilege. They were mapped because of the 2.X smack rules but checked that Web filesystem.read/write privileged device APIs are not wrappers of native systemsetting.admin privileged APIs. Hence add core privilege for filesystem.read and write separately and remove mapping to the systemsettings.admin. Change-Id: I3fcef8aea58a0292e8b8accb4692b14ba3eb36af Signed-off-by: Yunjin Lee --- diff --git a/capi/res/dbspace/wrt_privilege_mapping.csv b/capi/res/dbspace/wrt_privilege_mapping.csv index f30308d..d7f75bd 100644 --- a/capi/res/dbspace/wrt_privilege_mapping.csv +++ b/capi/res/dbspace/wrt_privilege_mapping.csv @@ -45,8 +45,8 @@ common,http://tizen.org/privilege/datasharing,2.2.1,9.9,http://tizen.org/privile common,http://tizen.org/privilege/datasync,2.2.1,9.9,http://tizen.org/privilege/datasync common,http://tizen.org/privilege/download,2.2.1,9.9,http://tizen.org/privilege/download common,http://tizen.org/privilege/externalstorage,2.2.1,9.9,http://tizen.org/privilege/externalstorage -common,http://tizen.org/privilege/filesystem.read,2.2.1,9.9,http://tizen.org/privilege/systemsettings.admin -common,http://tizen.org/privilege/filesystem.write,2.2.1,9.9,http://tizen.org/privilege/systemsettings.admin +common,http://tizen.org/privilege/filesystem.read,2.2.1,9.9,http://tizen.org/privilege/filesystem.read +common,http://tizen.org/privilege/filesystem.write,2.2.1,9.9,http://tizen.org/privilege/filesystem.write common,http://tizen.org/privilege/fullscreen,2.2.1,9.9,http://tizen.org/privilege/fullscreen common,http://tizen.org/privilege/healthinfo,2.2.1,9.9,http://tizen.org/privilege/healthinfo common,http://tizen.org/privilege/ime,2.2.1,9.9,http://tizen.org/privilege/ime