Return DENY when application has no policy for given privacy privilege 01/169401/3
authorZofia Grzelewska <z.abramowska@samsung.com>
Tue, 6 Feb 2018 09:01:04 +0000 (10:01 +0100)
committerZofia Grzelewska <z.abramowska@samsung.com>
Tue, 6 Feb 2018 11:29:27 +0000 (12:29 +0100)
commitd6252206ef65d199b5d034b3dd7359af436dd5aa
tree16cc41a60a3be278d172b6edb4445147dc806f9f
parentff0d7bf457fec6bc4d28956efe006344e1b439a1
Return DENY when application has no policy for given privacy privilege

When application has no policy set in privacy bucket, return
DENY inside checkPermission. This will be also returned in case
of privileges declared in application manifests, because currently
askuser cannot differentiate these two cases.

Change-Id: I9a177bdd9cc2e107dff973c5328263f23c31a0a4
src/client/impl/ApiInterfaceImpl.cpp
src/common/policy/Policy.cpp
src/notification-daemon/Logic.cpp