Return ALLOW for non privacy privileges 12/171312/14
authorZofia Grzelewska <z.abramowska@samsung.com>
Tue, 27 Feb 2018 15:27:14 +0000 (16:27 +0100)
committerTomasz Swierczek <t.swierczek@samsung.com>
Thu, 19 Apr 2018 06:56:08 +0000 (06:56 +0000)
commitd01f64452a3cae3df544cf24b4b0557115c34cea
tree5be411ce851dd34bd5a618a04b727a091bd28fa5
parentafa8f92d8fe913a92462c2a11a0fdcd684205980
Return ALLOW for non privacy privileges

When application checks/requests permission for given privilege,
return ALLOW when this privilege is requested by application
in manifest, but isn't privacy for it.

Change-Id: Ia36478fce3b9737589c2c130b9247ee3e7a89143
src/client/impl/ApiInterfaceImpl.cpp
src/common/CMakeLists.txt
src/common/policy/Policy.cpp
src/common/policy/Policy.h
src/common/policy/PrivilegeInfo.cpp
src/common/policy/PrivilegeInfo.h
src/common/policy/PrivilegePolicy.cpp [new file with mode: 0644]
src/common/policy/PrivilegePolicy.h [new file with mode: 0644]
src/notification-daemon/CMakeLists.txt
src/notification-daemon/Logic.cpp