Tags:
create new tag
view all tags

Question

Hi, we installed TWiki, but have a problem with the authorisation of users. Whenever we set ALLOWTOPICCHANGE to my WikiName or a WikiGroup I am apart of, I can't edit the page and says I am not authorised to edit the page. However, if we set the tag to allow TWikiGuest to edit the page, then I can edit the page. This is odd because when editting the page, the signature says my WikiName.

Could this problem be because of the authorisation? When first installing TWiki, we had huge authorisation problems in that nobody could ever login and would always be TWikiGuest. Whenever we view a page, WIKINAME tag would say "TWikiGuest". Whenever we tried to edit it, the signature would then say "-- Main.TWikiGuest - (date)". Now though, we have changed some of the configuration so that when we edit pages, it forces a login. In the edit screen after the login page, the signature says our Wiki Name. However, even if we login as an admin, we are still unable to edit pages that have ALLOWTOPICCHANGE set to admins only. However, after we go to another page, the WIKINAME tag still says TWikiGuest.

Also, if I set a page with ALLOWTOPICCHANGE set to TWikiGuest, I can edit it, even when loging in as someone else. What could be the problem?

Thanks for the help.

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, SpreadSheetPlugin, CommentPlugin, EditTablePlugin, InterwikiPlugin, RenderListPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin
Server OS: Linux
Web server:  
Perl version:  
Client OS: MS Windows XP Pro, Service Pack 2
Web Browser:  
Categories: Authentication, Authorisation

-- SiluChen - 23 Jun 2005

Answer

Probably the place to start is what you did to try and turn on authentication -- what instructions did you follow and what precisely did you change in order to enable a login challenge at edit-time? Attaching config files would help.

-- SteveRJones - 24 Jun 2005

I didn't do the editting myself, but I'll try and find out the exact steps. I just uploaded the testenv file, is there anything that could help you with perhaps?

-- SiluChen - 24 Jun 2005

the output of testenv would be useful. a copy of the script isn't. also, attaching your bin/setlib.cfg would be helpful.

-- WillNorris - 24 Jun 2005

And most of all, follow the installation instructions at TWikiInstallationGuide and read additional docs at TWikiUserAuthentication. To get up to speed quickly with your TWiki installation consider a ConsultantsForHire.

-- PeterThoeny - 26 Jun 2005

I've attached the bin/setlib.cfg file, but how do I even get the output of the testenv? And we've gone through the Installation Guide and User Authentication, but some of the instructions were pretty general and we couldn't get it to work.

-- SiluChen - 27 Jun 2005

you run http://your.twiki.server/bin/testenv.cgi or whatever corresponds to your entries in TWiki.cfg from the URL line in your webserver. You can try it for yourself here in the twiki website by typing: http://twiki.org/cgi-bin/testenv

-- SteveRJones - 28 Jun 2005

Thanks guys, I got it to work now.

-- SiluChen - 04 Jul 2005

Augh!

Nobody every says what they did to get things to work frown

-- GregoryBSmith - 14 Oct 2005

Good point Gregory. smile

-- FranzJosefSilli - 14 Oct 2005

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatcfg setlib.cfg r1 manage 2.1 K 2005-06-27 - 14:49 UnknownUser  
Unknown file formatext testenv r1 manage 39.2 K 2005-06-24 - 17:08 UnknownUser  
Edit | Attach | Watch | Print version | History: r13 < r12 < r11 < r10 < r9 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r13 - 2005-10-14 - FranzJosefSilli
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.