Forums / Setup & design / Classes attributes / Comment19857
Kristof Coomans
Friday 02 September 2005 7:10:24 am
If you can modify your site's database directly, you can manually assign the administrator role to your user.
Look up the contentobject_id of your user in the ezuser table. Then look up the id of the administrator role in the ezrole table (normally this is 2). Finally, add a new row to the ezuser_role table with the values you've found.
I haven't tried this myself but I think this should do it. Maybe you also need to remove the cache directories. I'm not sure if there is some role info cached there.
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org