Allow privileged caller to configure privacy manager for other users 62/104562/1
authorRafal Krypa <r.krypa@samsung.com>
Tue, 13 Dec 2016 13:42:12 +0000 (14:42 +0100)
committerRafal Krypa <r.krypa@samsung.com>
Tue, 13 Dec 2016 13:42:21 +0000 (14:42 +0100)
commit3fc9f0f0b544beefb03891678fc5f4f95d604c13
tree1cb945e33165577ed743472134316406346e9cc9
parent73c7cf7226f307bc75f85804895d22c873b04b38
Allow privileged caller to configure privacy manager for other users

When policy update is sent with security_manager_policy_update_send(),
the policy record type determines target Cynara bucket. For policies
targeted at privacy manager bucket, privileged caller might want to
set policies for other users.

This is now allowed if the caller has proper privilege.

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