Change mapping table of web filesystem.read and filesystem.write 89/195789/1
authorYunjin Lee <yunjin-.lee@samsung.com>
Tue, 18 Dec 2018 05:37:13 +0000 (14:37 +0900)
committerYunjin Lee <yunjin-.lee@samsung.com>
Tue, 18 Dec 2018 05:37:13 +0000 (14:37 +0900)
- 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 <yunjin-.lee@samsung.com>
capi/res/dbspace/wrt_privilege_mapping.csv

index f30308d..d7f75bd 100644 (file)
@@ -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