• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

I'm not sure if it's a Bug, but the TWiki never worked by this way and it's not god. A lot of collaborative Web Sites need to be restricted. And some institutional Web Sites using TWiki uses the Main Web for the Main Site area. (like ITI)

If you decide to do the TWiki work by this way... Please, we need an way to crate new users in an blocked Main Web.

We are using the TWiki to mantain the SaferNet Brasil web site, it's colaborative área and more...

But, we have an big problem. We worked on the HotLine-BR (it fight against pedofily) some time ago and we use TWiki too. It had an open collaborative area and one day, an not cool guy, put pedofily links on his won topic. So... We decide to restrict the TWiki for edition for an TWikiGroup and the Main area need to be restricted too.

Now on SaferNet Brasil we are using the TWiki Dackar (BEAUTIFUL!) but it have an big problem with the Main Web opened for people people who act against the human rights. (unhappyly this is really truth)

-- AH

Is your Main web open to change by the TWikiRegistrationAgent?

-- MC

In NewUserTemplate, remember to uncomment the * #Set ALLOWTOPICCHANGE as well, to allow new users to actually be able to change their own user topics in this kind of setting.

-- SP

Just for the record: Wikipedia:Pedophilia.

About the problem itself, I guess it could be documented how to restrict the Main web while allowing user to register, since cases like SeferNet's can be common.

-- AT

If we set restrictions on write access to Main web the registration process fails when the user topic is to be created. There is a call to saveTopic in $twikiLibDir/TWiki/UI/Register.pm:835, made in context of the new user. This leads to an error, cause of write restrictions. If the $user variable is initialized as $twikiRegistrationAgent (line 830) then we solve the problem. I applied this solution and the registration worked (with the write restrictions in the Main web).

Refer to the patch attached.

-- TWiki:Main.GilmarSantosJr

Sounds fair enough to let the TWikiRegistrationAgent both write to TWikiUsers and create the user topic rev 1. - A bit unsure if this may break existing testcases that verifies the username, needs a check.

SVN 8565 - thanks, Gilmar!

-- SP

Summary If we set the ALLOWWEBCHANGE on the Main web we can't have new users
ReportedBy TWiki:Main.AurelioAHeckert

SVN Range Fri, 27 Jan 2006 build 8562
AppliesTo Engine

Priority Urgent
CurrentState Closed

Checkins 8565
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatpatch Register.pm.patch r1 manage 0.5 K 2006-01-27 - 17:24 GilmarSantosJr Path suggested to solve the registration problem if the Main web has write restricitons
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2006-01-27 - GilmarSantosJr
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback