hello. I've been doind a huge mistake while configuring my xwiki two days ago and it seems that i removed some admin rights. While i can log in using the standard xwiki admin account, i can't modify the xwiki.preferences, it says that "You are not allowed to view this document or perform this action. " If i did what i think -that is, removing my own admin rights- how may i bring them back? Any way through the database? Thanks a lot.
On 2/10/06, [email protected] <[email protected]> wrote:
hello. I've been doind a huge mistake while configuring my xwiki two days ago and it seems that i removed some admin rights. While i can log in using the standard xwiki admin account, i can't modify the xwiki.preferences, it says that "You are not allowed to view this document or perform this action. " If i did what i think -that is, removing my own admin rights- how may i bring them back? Any way through the database?
Thanks a lot.
Hi, edit the file WEB-INF/xwiki.cfg in your xwiki directory add this at the end of the file : xwiki.superadminpassword=YourPassword after, log in with the user superadmin. With this user, you can do what you want. Jérémi -- Blog: http://www.jeremi.info LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724 http://www.xwiki.org skype: jeremi23 -- msn et gtalk : [email protected]
You should add xwiki.superadminpassword=xyz to xwiki.cfg and restart You can then login with user superadmin and pass 'xyz' with admin rights Ludovic [email protected] a écrit :
hello. I've been doind a huge mistake while configuring my xwiki two days ago and it seems that i removed some admin rights. While i can log in using the standard xwiki admin account, i can't modify the xwiki.preferences, it says that "You are not allowed to view this document or perform this action. " If i did what i think -that is, removing my own admin rights- how may i bring them back? Any way through the database?
Thanks a lot.
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
It worked. Merci merci merci... Let's move onto an other topic, now. Ludovic Dubost a écrit :
You should add
xwiki.superadminpassword=xyz
to xwiki.cfg and restart
You can then login with user superadmin and pass 'xyz' with admin rights
Ludovic
[email protected] a écrit :
hello. I've been doind a huge mistake while configuring my xwiki two days ago and it seems that i removed some admin rights. While i can log in using the standard xwiki admin account, i can't modify the xwiki.preferences, it says that "You are not allowed to view this document or perform this action. " If i did what i think -that is, removing my own admin rights- how may i bring them back? Any way through the database?
Thanks a lot.
ctWeb mailing lists service home page: http://www.objectweb.org/wws
participants (4)
-
f.barachant@ninsight.com -
Frédéric Barachant -
jeremi joslin -
Ludovic Dubost