Feat: Founding Partner login with autocreation of User, User Role Link, Company, User Company Link as necessary and autologin with new user - for approved Founding Partners only, otherwise redirected to login page.

This commit is contained in:
2025-08-21 18:37:31 +01:00
parent 07543994bf
commit 12f5fc994f
29 changed files with 1843 additions and 324 deletions

View File

@@ -0,0 +1,14 @@
INSERT INTO fetchmetrics.PH_Contact_Form_Change_Set ( comment )
VALUES ( 'Approve founding partner ___' );
UPDATE fetchmetrics.PH_Apply_Founding_Partner_Form AFPF
SET
AFPF.is_approved = 1
, AFPF.id_change_set = (SELECT CFCS.id_change_set FROM fetchmetrics.PH_Contact_Form_Change_Set CFCS ORDER BY CFCS.id_change_set DESC LIMIT 1)
WHERE AFPF.id_apply_founding_partner_form = NULL
;
SELECT *
FROM fetchmetrics.PH_Apply_Founding_Partner_Form
;