Fix getting application groups 67/36067/5
authorRafal Krypa <r.krypa@samsung.com>
Tue, 17 Feb 2015 13:00:04 +0000 (14:00 +0100)
committerRafal Krypa <r.krypa@samsung.com>
Mon, 2 Mar 2015 15:19:55 +0000 (16:19 +0100)
commit49194f57eae8f1a69b46b2969be2afba02299ff6
treebe43c2611aae721705b6e3f2b141936ec5c0f07c
parent5464c8863931bce9ff6bf536e09a5fff0c14a890
Fix getting application groups

When fetching application groups, Cynara checks are made to verify whether
application actually has the privilege. Since recently, application identifier
in Cynara policy is appId-based. This function wasn't properly adapted to
that change and still used pkgId-based identifier. This would break after
introduction of proper Smack labels in security-manager.

Change-Id: Ifeed83b6ab9f920a2c0dc769d0d3de60887bdcd6
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
src/common/service_impl.cpp