KonaKart Community Forum

Installation / Configuration => Configuration of KonaKart => Topic started by: Steveinjava on March 28, 2008, 06:41:11 pm

Title: Can't login to admin!
Post by: Steveinjava on March 28, 2008, 06:41:11 pm
I was fiddling with the admin UI (Big mistake!) and noticed an option to use 'security' with the API calls. I thought I would switch it on and see how it worked.
Now I cannot login to the admin UI- I get
User with id = 2 cannot access the API call : getRolesPerSessionId
How do I either revert to unsecure or enhance the users permissions to allow admin useage?
Thanks in advance!
Title: Re: Can't login to admin!
Post by: Steveinjava on March 28, 2008, 07:01:21 pm
Well I solved it in an untidy way...I filled the db table kk_role_to_api_call with ever api_call_id for role_id=1
Then when I got in I turned off the security for API. I will now look and see if there is a way of setting these security settings in an organised way- I can't recall one. If anyone knows a good URL I would be obliged.
Hope this workaround is useful somebody in the same position one day ;)
Title: Re: Can't login to admin!
Post by: innes on April 05, 2008, 09:37:31 pm
Thanks! Did the exact same thing.

Innes