theos
Although I am the administrator of my wiki, and have all the functions available for me, the ACL is giving me problems lately.
Though I can see everything including the tree structure,current acl rules, etc. But when I try to do anything, it only shows "for admin only".
Of course I can do these thing manually in the acl.auth.php. I guess somehow the ACL does not recognize the admin.. but I don't know how to fix it.. Would anyone know the answer to my question??
Regards,
Theo
theos
Perhaps it's a caching problem because it now works again..
Is this perhaps a bug or something??
Grtz
jessejames
have you tried clearing your browser cache when it is happening?
theos
yes, emptied Firefox and used Ccleaner. Nevertheless it did not work..
Perhaps it is because I use a Data folder from an other wiki on the same server? (I do this to publish certain areas of the 'grant wiki')
I suspect this causes the problems..
BTW, it now says "CRSF Attack" :scared:
themaze75
Hi, theos,
I'm having the same issue at the moment - "for admin only", I'm not getting mentions of attack.
Have you made any progress?
If I set a new blog and reconfigure it the same (coping the config files from the misbehaving setup), everything works fine... seems like there's something stuck from my old data.
Another other side effects of this problem : I cannot use the media manager.
At this point, I'm considering just copying the data to a new setup and loose the history :(
themaze75
Made a bit of headway - it seems related to using nice urls - If I remove "$conf['userewrite'] = '1';" from the config, ACL works again.
Maybe something wrong in the htaccess??
---
After more testing:
removing $conf['userewrite'] = '1' while logged, the system asks me to log again.
Once logged this way, I can switch back to $conf['userewrite'] = '1' and my ACL works fine.
I don't quite understand the difference, but I see the second login creates a second session cookie and once both sessions are valid, the admin works as expected.
To test without playing with the config:
With userwrite set to 1, log in the wiki using "doku.php?do=login"
You will log in and be asked to log in again
Then the ACL will work properly.
Feels like a bug.
theos
It sure does feel like a bug, my situation was probably caused by working with multiple wiki's at the same time. Something goes wrong in the user sessions (I sometimes had the problem that I was suddenly logged off..)
I changed all the account with my three wiki's into the same name and pass, now it does work better.
The ACL however still gives the "CRSF Attack" but that's probably because I use data from another wiki in this one.. so wiki A and B show the same data, but have different views/acces/etc, both for internal and (yet to come) external usage..
themaze75