Move author_id to pkg - server code adjustment 39/68139/7
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 2 May 2016 10:31:58 +0000 (12:31 +0200)
committerRafal Krypa <r.krypa@samsung.com>
Fri, 13 May 2016 16:03:43 +0000 (09:03 -0700)
commita53ffe69b8e29d06cc76924aee24e24cf61193d2
treed418408073490cfe7b55468a7406e356c20eebb6
parentafe66aa54b5c4ecb7c107e6a39c043ba82a7b05a
Move author_id to pkg - server code adjustment

[Problem] Author is not a feature of app anymore. Server code needs to be
adjusted.
[Solution] Get author via pkg instead of app. Rename variables and functions.
Update author's rules in existing ones if a new app with different author is
installed. Separate author rules for app from app-rules-template.smack

[Verification] Run tests (especially author related ones)
TODO: Add author update test case.

Change-Id: I8e42877170809e9e71c8c676b566119e3b16fbd5
src/common/include/privilege_db.h
src/common/include/service_impl.h
src/common/include/smack-labels.h
src/common/privilege_db.cpp
src/common/service_impl.cpp
src/common/smack-labels.cpp