Hi Ludovic, thnaks for the tips, I will make some coding next few days and will discuss on the list some approachs and bring the code back to the xwiki community. Ludovic Dubost escreveu, Em 19-12-2005 07:16:
Hi Claudio,
There is currently no approve feature. The only feature we have included is a mail confirmation system. This is the closest thing that could be transformed into an approval system. While working with different users that had different registration/user management policies, I realized that there are a number of features needed for registration. These include:
- email validation and confirmation - invitations using a passcode - registration approvals
Currently registration is handled by an API (createUser) and then integrated in the application using XWiki pages. So each of these features can be "hacked" using the scripting language but it would be nice to actually rework the registration system and take into account all these cases in a registration feature included in the engine.
So there are two ways to implement:
1/ Use the mail confirmation system (changing a param in the call to createUser), including an email and text in the registration page that says: "your account is on hold until it has been approved". You will need to add a "cc" to your admin email or create a wiki page or RSS feed with unapproved accounts. Then you can make an approval page where you can switch the "Active" field to "on".
2/ Rework the registration system to handle all in a "register" account and allow to configure the registration behavior in the preferences. Only the fields asked in the registration would be configurable in a Wiki page. Also a placeholder for anti-spam verifications should be included.
You are welcome to help. We can discuss any of these implementations here. A good thing would be to document how this has been setup in your case.
Ludovic
Claudio Miranda a écrit :
Sure it is, I started to use xwiki today and want this feature, because the intranet where xwiki is has more than 800 users (if everything goes well this should be used as a corporate basis and 5000 users), so the approve system is a very requested feature. So, any hints is important, even if xwiki doesn't have I will implement, but I need some information before dig the whole system.
thanks
Claudio Miranda
On Mon, 12 Dec 2005 23:04:56 +0100, "michelolive" <michelolive@wanadoo.fr> escreveu:
It is a pretty good idea. While approving a new user registration, the administrator should be able to see the group list, and choose the right group for thid new user. He sould be able to see the new user's mail address too.
Michel Olive ----- Original Message ----- From: "Claudio Miranda" <claudio@claudius.com.br> To: <xwiki-users@objectweb.org> Sent: Monday, December 12, 2005 10:49 PM Subject: [xwiki-users] how to approve new xwiki users ?
Hi all, I would like to known if it is possible to have a way to approve new xwiki users registerations at my xwiki. If a features like this doesn't exist, please give some pointers on how to implement this.
-- Claudio Miranda ___________________________________________________________________ http://www.claudius.com.br/blog claudio|em|claudius.com.br http://www.summa-tech.com Summa Technologies do Brasil http://www.soujava.org.br