KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: Sony George on October 29, 2009, 07:42:10 pm

Title: User with id = 2 cannot access the API call : getAllRoles
Post by: Sony George on October 29, 2009, 07:42:10 pm
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
Title: Re: User with id = 2 cannot access the API call : getAllRoles
Post by: trevor on October 29, 2009, 07:52:21 pm
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.
Title: Re: User with id = 2 cannot access the API call : getAllRoles
Post by: harish on August 21, 2017, 07:39:56 am
how to resolve this issue. I am not able to login to konakart admin. Is there any table where I can update any field.
Title: Re: User with id = 2 cannot access the API call : getAllRoles
Post by: Brian on August 23, 2017, 09:31:56 am
In the configuration table set the configuration_value in the row with configuration_key = 'API_CALL_SECURITY' to false.