[Account] Privilege checks moved to JS.
authorPawel Andruszkiewicz <p.andruszkie@samsung.com>
Thu, 30 Apr 2015 10:46:21 +0000 (12:46 +0200)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>
Mon, 4 May 2015 07:53:07 +0000 (16:53 +0900)
commit56d62cfd264357832fb8349c2a7be159efc4715e
tree968eb1d4d5d9b832c8b445fafabf4452fd0aa6d9
parent85c867082d19eb3eb6ef341c694b13925a1ee114
[Account] Privilege checks moved to JS.

Privileges need to be check before validation of arguments.

Change-Id: I145568782afcce0e25e6abd4227821be66f1a51f
src/account/account_api.js
src/account/account_instance.cc