语言

Menu
Sites
Language
Security Error: The application does not have the privilege to call this method

Hello

I am facing the issue : "Security Error: The application does not have the privilege to call this method."

I have added all the necessary privilege in config.xml, but still whenever the web API call occurs I get the same warning log message. 

When using CheckPrivacy(), The APIs are showing the Privacy for the added privilege as "False" ::

"checkPrivacy():  privilege : http://tizen.org/privilege/messaging.read : false  "

Do any of you have a suggestion of how to go about this?

Thanks for any help you can provide.

Best regards,

Sidharth

编辑者为: Sidharth shetty 29 3月, 2014

响应

4 回复
Alex Dem

Hi,
Maybe your api require partner or platform privilege level?
Please look at this:
https://developer.tizen.org/dev-guide/2.2.1/org.tizen.gettingstarted/html/tizen_overview/privilege.htm
Alexey.

Sidharth shetty

Hello Alex

I am using the messaging.read and messaging.write, It is a public privilege level API.

The Privacy message for this API is returning false, whereas for other APIs it is returning true.

Thank you

AVSukhov

Hello, 

I have tested this privileges and did not observe a similar problem. Which version SDK are you using?

Sidharth shetty

Hello,

Version - 3.0

Initially i did not get any error, i was able to use the API and retrive the data. But after integrated an API of my own in the App (which is also working fine), these errors showed up.

When enabling the CheckPrivacy(), The below log message is displayed: "checkPrivacy():  privilege : http://tizen.org/privilege/messaging.read : false".

This is only occuring for the above privilege, other privilege status is showing up as true.