enable simple registration

Ticket

+commit
 

No simple way to set up a site now with straightforward user registration.

 

Link to "Sign Up" (not "Request Account" as before) if "Anyone" has permission to create Account Request cards.

 

If "Anyone" has the "create_accounts" permission, then:

  1. Sign Up uses AccountRequest+*tform
  2. automatically converted to user

otherwise, procedure is the same as before, plus some more configurable notifications (see move most configuration options into cards)

 

Also, as part of this fix, you now never add a password right when adding an account - just the email.

 

 

Initially, we required Anyone to have permission to create User cards, but for Wagns that generally require sign-in to create cards this led to signed-out users being able to create new User (and only User) cards, which is Not Good.


Got a 500 when clicking on Invite a Friend on Sandwagn (before i reset permissions). Guess we shouldn't show that link if the current user does not have permission to create accounts.

  --John Abbe.....Tue Feb 17 18:02:48 -0800 2009


Setting permissions fixed that, but now i'm getting 500 when clicking on Sign Up, even though ((removed reference to sandwagn)) is createable by Anyone and Anyone can create accounts ((removed reference to sandwagn))

http://sandwagn.wagn.org/wagn/Account_Request was returning a 500 until i deleted its content, which consisted of just including +*type cards, and ((removed reference to sandwagn)) still returns 500

  --John Abbe.....Tue Feb 17 21:34:38 -0800 2009


I think the Invite-a-Friend permissions should be right now. May want help finding that other error.

  --Ethan McCutchen.....Wed Feb 18 19:27:46 -0800 2009


Many problems found and fixed. Closing.

  --John Abbe.....Thu Feb 19 22:01:04 -0800 2009


Documented on http://new.wagn.org/wagn/Config and accounts.

  --John Abbe.....Sun Mar 01 05:26:44 -0800 2009