Feature Proposal: Separating Webs with their own WEBMASTER
Motivation
This would be a useful feature if the setup you have is crying out for separate TWikis for each project, but you don't want the overhead of maintaining each one.
Description and Documentation
Each Web is assigned (on Web creation) a group and WEBMASTER who is in charge of the web. On new user registration, a user picks a Web, the WEBMASTER confirms he/she is someone wanted for that particular web and the person is added to the Users list and the Group. Permissions are defined using these Groups.
Examples
I have this setup currently on my TWiki. It wouldn't be as simple as writing a patch is it's a bit of a hatchet job but I want something to spur me on to get it to production standard and give it back to the community.
Impact
Implementation
--
Contributors: ChrisCauser - 10 Oct 2008
Discussion
Chris,
you say you have done a prototype for this but don't say what you have done. I'm guessing that the core changes you made are entirely in the
UI/Register.pm module.
I suspect this is another example where
PluggableRegistration makes sense. You want to exercise a different flow in the registration process, but once registration is complete, TWiki behaves "as normal". Right?
--
CrawfordCurrie - 11 Oct 2008
Exactly Crawford, TWiki behaves as normal after registration (other than you are assigned a group automatically.)
However, modifications we not just to Register.pm. I had to change UI/Manage.pm for adding A webmaster parameter as well as TWiki/ManagingWebs.txt and data/_default/WebPreferences.txt for fairly obvious reasons.
PluggableRegistration would help this a lot, but the infrastructure just isn't there yet.
--
ChrisCauser - 11 Oct 2008
Sounds like a cool feature to me.
--
KennethLavrsen - 11 Oct 2008
I'd like to see more than just registration. For example,
MailerContrib, and perhaps a twikiadmin group membership on a per web basis.
--
SvenDowideit - 12 Oct 2008
Sorry Sven, you're going to have to spell out to me what you want.
How will this functionality help MailerContrib?
The per web admin group is a nice idea though.
--
ChrisCauser - 13 Oct 2008
Sven, as a bit of a push for getting me started, would you know the best module for putting your addUserToGroup script? It's currently in Registration.pm, but I think it's more general than that.
Many thanks Sven for all your help.
--
ChrisCauser - 14 Oct 2008
currently,
MailerContrib and all other plugins would send out emails from the twiki system's administrator and email address - by having a per web WEBMASTER, these should also come from there.
--
SvenDowideit - 14 Oct 2008