I've just finished an upgrade to 3.141 and am trying to give myself admin rights to play with the new webadmin features. My login is via OpenID but from reading on the wiki I believe that OpenID users should be able to be granted admin rights. However I'm obviously doing something wrong as when I click on the "Preferences" link at the top of the page I don't see any admin features.
My login is: http://adam.shand.net/
In .ikiwiki/userdb I see:
> adam@shand.net
> email <br>
> password <br>
> locked_pages <br>
> banned <br>
> 1229722296 <br>
> regdate <br>
> http://adam.shand.net/ <br>
And in my config file I have:
> adminuser => [qw{http://adam.shand.net/}],
Any pointers to what I'm doing wrong would be much appreciated.
>>>> After applying that change to what is probably
>>>> `/usr/share/perl5/IkiWiki/UserInfo.pm` on your system,
>>>> when you go to the preferences page it should log in your web server's
>>>> error.log, something like this:
[Wed Jul 08 12:54:35 2009] [error] [client 127.0.1.1] is_admin test http://joey.kitenet.net/ vs http://joey.kitenet.net/: 1
>>>> So you can see if the two usernames/openids match. If the end is "0",
>>>> they don't match. If nothing is logged, you have not enabled the websetup plugin.
>>>> If the end if "1" you should see the "Wiki Setup" button, if not the
>>>> problem is not in determining if you're an admin, but elsewhere..
>>>> --[[Joey]]
2009-07-10 07:19:40 +02:00
I was being incredibly stupid and missed that websetup is a **plugin** and thus needed to be enabled. Many thanks for your patient assistance, by helping me eliminate the unlikely it eventually led me to the obvious. Cheers. -- [[Adam]]