• Welcome to KonaKart Community Forum. Please login or sign up.
 

User with id = 2 cannot access the API call : getAllRoles

Started by Sony George, October 29, 2009, 07:42:10 pm

Previous topic - Next topic

Sony George

Hello,

when i login to the admin app i get this message,
User with id = 2 cannot access the API call : getAllRoles

step to reproduce the error,

do a fresh install of app 4.1 version
login to the admin app as admin@konakart.com/princess
In Configuration Panel ---> select Security and Auditing
set Enable Security on API Calls value to true
logout,
try to login again, i get this error
User with id = 2 cannot access the API call : getAllRoles

why does this happen ? am i doing anything wrong ?

regards

trevor

Since KonaKart is API based, you can enable role based security on all API calls. By default this is switched off but you've enabled it. If you do enable it, then you must ensure that your role allows you to access the API calls that interest you. If you are accessing the Admin Engine only through the Admin App, then you probably don't need this level of security.

harish

how to resolve this issue. I am not able to login to konakart admin. Is there any table where I can update any field.

Brian

In the configuration table set the configuration_value in the row with configuration_key = 'API_CALL_SECURITY' to false.