[Badge] Privilege checks moved to JS.
authorPawel Andruszkiewicz <p.andruszkie@samsung.com>
Thu, 30 Apr 2015 11:49:35 +0000 (13:49 +0200)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>
Mon, 4 May 2015 07:57:33 +0000 (16:57 +0900)
commit442cdabd8e361635d635bca8d49cd18e53bde064
tree2aea4e8de127cff6191214d5db5059434901932a
parent51afbb3ea724b67f8bd346ac8b685985d838f048
[Badge] Privilege checks moved to JS.

Privileges need to be check before validation of arguments.

Change-Id: Ib3d7d5fa7ae6c4af3275b58cbaefd5c670cdc7c3
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
src/badge/badge_api.js
src/badge/badge_instance.cc