Forums / Developer / I changed Admin role and I can't log in anymore !!!
Pascal France
Saturday 25 February 2006 1:19:48 am
Hi,
I changed admin role and I can't access admin interface anymore. I looked around: ezpreferences ezuser ezuser_accountkey ezuser_discountrule ezuser_role ezuser_setting ezpolicy ezpolicy_limitationezpolicy_limitation_value
but I didn't find anything.
Is there a way to set up the default admin permissions or should I reinstall all my system ?
Regards
Pascal
Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish
Thomas Nunninger
Saturday 25 February 2006 1:48:39 am
perhaps this thread can give you an idea to recreate an admin user:
http://ez.no/community/forum/general/cannot_login_with_admin_user
Have a nice day
Thomas
Saturday 25 February 2006 2:04:12 am
Hi Thomas,
I tried what you suggested and it works (I can log in now) BUT my problem is that I changed admin role and I can't anymore change the user roles. I have no more:Administrator all modules all functions No limitations
and I don't know where to define this role in database.
Saturday 25 February 2006 2:53:10 am
Hi Pascal,
when accessing the named url role/list you can create a new role and within this role a policy for all modules without any restriction. Then you can assign an existing user or user group to this role. (I assume that your admin user still exists.)
Hope that helps. Or just write again...
Saturday 25 February 2006 3:07:21 am
Yes, I can create a new role but I can't assign a user to this new role. The system tells me I have no rights to do this.
Maybe there something to add in
[RoleSettings]PolicyOmitList[]=role
Saturday 25 February 2006 3:42:33 am
I do not have problems with this. Some questions:
- Which version of eZ publish do you use? I have 3.7.3.
- Where do you get the error? When clicking the assign link at the beginning (to browse the users) or when you selected a user and submit to finish the assignment?
- Have you changed the anonymous role? (Because you are acting as an anonymous user here.)
- Have you cleared the cache? (Don't know - perhaps it helps...)
Saturday 25 February 2006 4:35:11 am
Hi Thomas
I will reinstall all my system :-(
I have no more access to any object..............
Thanks for your help
Now I will do backups !