Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1708 closed enhancement (wontfix)

Invitation Capability

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


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 (

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) (2.7 KB) - added by bewst 11 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 11 years ago by bewst

Attachment: added

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

comment:1 Changed 11 years ago by Matt Good

Resolution: wontfix
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Matt Good.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.