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

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

eZ debug

Timing: Jan 18 2025 15:01:24
Script start
Timing: Jan 18 2025 15:01:24
Module start 'content'
Timing: Jan 18 2025 15:01:25
Module end 'content'
Timing: Jan 18 2025 15:01:25
Script end

Main resources:

Total runtime1.4549 sec
Peak memory usage4,096.0000 KB
Database Queries206

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0099 587.8516180.8125
Module start 'content' 0.00991.3467 768.6641586.6250
Module end 'content' 1.35660.0982 1,355.2891341.0547
Script end 1.4548  1,696.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.2703210.0002
Check MTime0.00140.0968210.0001
Mysql Total
Database connection0.00130.092210.0013
Mysqli_queries1.377994.70872060.0067
Looping result0.00160.10822040.0000
Template Total1.413597.220.7067
Template load0.00250.175020.0013
Template processing1.410996.976620.7055
Template load and register function0.00010.009610.0001
states
state_id_array0.00210.144310.0021
state_identifier_array0.00130.086620.0006
Override
Cache load0.00210.1469660.0000
Sytem overhead
Fetch class attribute can translate value0.00090.063530.0003
Fetch class attribute name0.00090.062580.0001
XML
Image XML parsing0.00080.053730.0003
class_abstraction
Instantiating content class attribute0.00000.0012100.0000
General
dbfile0.00270.1885270.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs