From f8089113f58fde0d4872366f1d06672d238c351d Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Fri, 26 May 2023 01:23:45 +0100 Subject: [PATCH] todo: added notes on what to do next --- src/main.rs | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/src/main.rs b/src/main.rs index f8be045..08682d3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -151,3 +151,36 @@ async fn post_update_ldap(mut req: Request) -> tide::Result { Ok(json!({"result": "success"}).into()) } + + +/** Create new account + + + 1. Check if ID is available + 2. Ask user to fill in: + * uid + * First Name + * Surname Name + * Wolves email + 3. Email + link is sent to wolves email + * only if its paid up and it hasn't been used before + 4. Ldap entry created + 5. Email with initial pw is sent to user + 6. Account added to skynet-users (they are paid up) + + */ + +/** Join existing account to wolves + related to above + + */ + +/** Password reset via email + + */ + +/** script to pull in all active members from wolves + update the groups + check if there are any pending signups + + */