Allow people who sign up to request to 'join' an existing Household.
Currently, every sign up creates a new person and a new family record. It would be nice to give the user a button so they can request to join an existing family. Admins would see the request and approve or deny.
Shouldn't one or more members of the existing family be the ones to approve it?
No, church staff generally know. And if they're not sure, then they can ask the family.
Why shouldn't the familiy be allow to decide? Don't force admins to do stuff users can do way better (and faster)!
OK, I'll compromise and say that can be configurable.
- Add a setting in section "Features" called "Allow people to request to join a different family" with 3 possible values: nil/blank (no), "Send request to adults in family", "Send request to site admins"
- Add button to family page labeled "Join this family" with a confirmation popup that reads: "Are you sure? This will send a request to [the family/site admins].".
- Add a new model JoinFamilyRequest (attributes TBD).
- Create two new emails -- one for the family option and one for the admin option. Wording TBD.
- Add a new .box to the family page shown to either family adults or site admin with the 'edit profiles' privilege (depending on setting).
- If denied, archive the JoinFamilyRequest. If approved, 1) move the person to the new family, 2) archive the JoinFamilyRequest, and 3) delete the old family if it is empty.
Thoughts?
Sounds good, thanks!
great!
AndyGauge/feature/inosculation
1. Add a setting in section "Features" called "Allow people to request to join a different family" with 3 possible values: nil/blank (no), "Send request to adults in family", "Send request to site admins"
2..6 TODO
@AndyGauge hold up on this... I'm thinking this might change significantly given I'd like to do away with Family records altogether. (I'm hoping to implement Households)
Blocked by #589.