Can't login, missed Adminrole or sth. else

Author Message

Stefan Layer

Wednesday 18 October 2006 5:17:05 am

Hi there,
we missed our Admin account or somebody deleted a role.
If an admin want to login, he received the message " you have no right to access the account <Si_admin>".

We checked the MySQL database and the administrators (ezUser) still exists, ezRole and ezcontentobject too. I checked the table ezuser_role (thought the link between User and Admin-Role located there) but i didnt found any hint that there was a link between it.

Where are the link/assignment that combines the single User with that role.

All administrators lost their adminrights, have you any idea how i can solve this problem?

Thanks for the answers

Stefan

Claudia Kosny

Wednesday 18 October 2006 9:50:07 am

Hi Stefan

This post
http://ez.no/community/forum/developer/loosing_administrator_user/re_loosing_administrator_user__7
gives some information on how to access the user management in the admin view without having to login (don't forget to add some other protection, e.g via htaccess for the admin siteaccess). Maybe you can solve the problem there.

Regarding the relation between user and role - the admin role is assigned to the admin user group, not to a specific user (unless you changed that). Thus the table ezuser_role should show some relation between the admin role (whose id is 2 in my EZ 3.8.4) and the object id of the admin user group (which is 12 in my EZ).

Greetings from Luxembourg

Claudia

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.