Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#1708 closed enhancement (wontfix)

Invitation Capability

Reported by: bewst Owned by: mgood
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Something like this is mentioned in trac:ticket:791, but I think it deserves a ticket of its own.

I'd like people to be able to register as users "by invitation only". That is, I want to have a privilege, say REGISTRATION_INVITE, allows a user to invite other users to register. It should send the user an email containing a link leads to a registration page. The link should encode various information such as the user's initial email address, a userID I select (and whether that should be changeable by the receiver before completing registration) and possibly other information selected by the inviting user (e.g. permissions).

Right now I can simulate this feature using the AccountManagerPlugin plugin by registering a new user with an arbitrary password, logging out, and using the "forgot your password?" link with the user's ID. The biggest downside here is that I've added the user even if the recipient decides not to "register."

There's some code that already does this for the Sphene Community Tools (http://sct.sphene.net/wiki/show/Start/).

I would also like to be able to issue these invitations in bulk, though I'm willing to write scripts for that. I have attached an example that I used for a Django site

Attachments (1)

users_from_csv.py (2.7 KB) - added by bewst 7 years ago.
Script that reads a CSV file of user info and sends out invitations to register

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by bewst

Script that reads a CSV file of user info and sends out invitations to register

comment:1 Changed 7 years ago by mgood

  • Resolution set to wontfix
  • Status changed from new to closed

I'd rather see this as a separate plugin, though it could use the APIs from the AccountManagerPlugin. This seems a little outside the common use cases for the AccountManager so I'd rather not add another thing to maintain. Feel free to RequestaHack to see if anyone else is interested in working on this.

Add Comment

Modify Ticket

Action
as closed The owner will remain mgood.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.