I changed Admin role and I can't log in anymore !!!

Author Message

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_limitation
ezpolicy_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

Hi,

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

Pascal France

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.

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 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...

Have a nice day

Thomas

Pascal France

Saturday 25 February 2006 3:07:21 am

Hi Thomas,

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

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 3:42:33 am

Hi Pascal,

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...)

Thomas

Pascal France

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 !

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

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

eZ debug

Timing: Jan 18 2025 18:37:32
Script start
Timing: Jan 18 2025 18:37:32
Module start 'layout'
Timing: Jan 18 2025 18:37:32
Module start 'content'
Timing: Jan 18 2025 18:37:33
Module end 'content'
Timing: Jan 18 2025 18:37:33
Script end

Main resources:

Total runtime1.3931 sec
Peak memory usage4,096.0000 KB
Database Queries69

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0107 588.0469152.6406
Module start 'layout' 0.01070.0054 740.687539.4766
Module start 'content' 0.01611.3753 780.1641581.5313
Module end 'content' 1.39140.0017 1,361.695316.1250
Script end 1.3931  1,377.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2551160.0002
Check MTime0.00160.1163160.0001
Mysql Total
Database connection0.00140.100410.0014
Mysqli_queries1.311694.1489690.0190
Looping result0.00140.1008670.0000
Template Total1.352697.120.6763
Template load0.00200.144620.0010
Template processing1.350696.946420.6753
Template load and register function0.00020.014810.0002
states
state_id_array0.00170.120710.0017
state_identifier_array0.00090.063320.0004
Override
Cache load0.00180.1328660.0000
Sytem overhead
Fetch class attribute can translate value0.00060.040720.0003
Fetch class attribute name0.00120.082780.0001
XML
Image XML parsing0.00160.117920.0008
class_abstraction
Instantiating content class attribute0.00000.0020100.0000
General
dbfile0.00130.0963160.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs