Fix checking privilege level for hybrid apps 86/89686/3 accepted/tizen/common/20161011.154148 accepted/tizen/ivi/20161011.234024 accepted/tizen/mobile/20161011.234006 accepted/tizen/tv/20161011.234015 accepted/tizen/wearable/20161011.233943 submit/tizen/20161011.002253
authorTomasz Iwanek <t.iwanek@samsung.com>
Mon, 26 Sep 2016 09:12:48 +0000 (11:12 +0200)
committerTomasz Iwanek <t.iwanek@samsung.com>
Fri, 30 Sep 2016 13:25:30 +0000 (15:25 +0200)
commitae4180600470832d977354a5bc350031817a1a4c
tree62d5d5d3a953e132617e1a3dc7a07592ad6fea24
parent6d5ef60c6faa649c5f8a2674e178d26c92e74acf
Fix checking privilege level for hybrid apps

There are two facts:
 - we need to store all privileges into pkgmgr database,
 - we need to check privilege level for native and web
   privileges separatelly in case of hybrid application.

Therefore, merging of native and web privilege is delayed till
checking privilege level. Installing of hybrid app will involve
customized step for checking privilege level.

Requires:
 - https://review.tizen.org/gerrit/89685

Change-Id: I7bb044e4ddb6de488e959b8433105bc22c82f0c1
src/hybrid/CMakeLists.txt
src/hybrid/hybrid_installer.cc
src/hybrid/step/configuration/step_merge_tpk_config.cc
src/hybrid/step/configuration/step_merge_tpk_config.h
src/hybrid/step/configuration/step_merge_tpk_privileges.cc [new file with mode: 0644]
src/hybrid/step/configuration/step_merge_tpk_privileges.h [new file with mode: 0644]
src/hybrid/step/security/step_hybrid_check_signature.cc [new file with mode: 0644]
src/hybrid/step/security/step_hybrid_check_signature.h [new file with mode: 0644]