update TODO.txt and ARCHITECTURE.txt
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Thu, 22 May 2014 06:05:56 +0000 (08:05 +0200)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Thu, 22 May 2014 06:15:16 +0000 (08:15 +0200)
TODO.txt
doc/ARCHITECTURE.txt

index 99e2edc..f731d35 100644 (file)
--- a/TODO.txt
+++ b/TODO.txt
        DONE . command documentation
        DONE . manage disagreeding users investigation
        DONE . self guaranteed
-     . New Users Guarantee Procedure
-       . WIP Change guarantee workflow
+     . DONE New Users Guarantee Procedure
+       . DONE Change guarantee workflow
        . DONE Db update
-       . Send email with appropriate link embedded
+
+         UserA                 UserB                      Admin
+-------------------------------------------------------------------------
+      guarante UserB
            |
-           V
-      DONE brisk   ->  DONE mail-table
-           |                 |
-           V                 |
-       DONE user             |
-           |                 |
-           V                 |
-    DONE click-link -> TODO check with     <- ¡WE ARE HERE NOW!
-                         mails-table
-                        and update DB
-                             |
-                             V
-                      (needs ad-hoc page)
-
-       . WIP Admin panel
+           v
+      Save on mail
+         table,
+      email to UserB
+    (Disabled, MAILED)
+-------------------------------------------------------------------------
+                           Receive email
+                           to check address
+                                 |
+                                 v
+                           Click on link
+                                 |
+                                 v
+                           Check on mail
+                               table,
+                           update user status,
+                           delete mail rec
+                          (Disabled, TOBECHK)
+-------------------------------------------------------------------------
+                                                       admin panel
+                                                       accept user
+                                                            |
+                                                            v
+                                                     send email with
+                                                     password,
+                                                     update user status
+                                                      (Normal, NONE)
+-------------------------------------------------------------------------
+                           Receive email
+                           with password
+-------------------------------------------------------------------------
 
      . Email-address expiration check
      . Account expiration
      - sistema di inserimento nuovi utenti (riversatore da form di inserimento)
 
      STEP 2
-     - aggiornare le funz di gestione db in modo che prevedano anche il flag SUSPEND
      - modifica password   
      - ripristino password 
 
index a28d91a..bb91c57 100644 (file)
@@ -85,28 +85,38 @@ $user->rd_transp->chunk($this->rd_scristp++, $ret);
 
 ===== New users workflow =====
 
-status     |      |         DB         |
----------- |------+--------------------+
-unknown    |
-           V
-         brisk   ->      mail-table
-MAILED     |                 |
-           V                 |
-          user               |
-           |                 |
-           V                 |
-        mailbox              |
-           |                 |
-           V                 |
-        procmail             |
-           |                 |
-           V                 |
-  check with mail-table      |
-     and update DB      <----+
-  (needs ad-hoc page)
-TOBECHK    |
-           V
-       authorize
-normal     |
-           V
-
+         UserA                 UserB                      Admin
+-------------------------------------------------------------------------
+      guarante UserB
+           |
+           v
+      Save on mail
+         table,
+      email to UserB
+    (Disabled, MAILED)
+-------------------------------------------------------------------------
+                           Receive email
+                           to check address
+                                 |
+                                 v
+                           Click on link
+                                 |
+                                 v
+                           Check on mail
+                               table,
+                           update user status,
+                           delete mail rec
+                          (Disabled, TOBECHK)
+-------------------------------------------------------------------------
+                                                       admin panel
+                                                       accept user
+                                                            |
+                                                            v
+                                                     send email with
+                                                     password,
+                                                     update user status
+                                                      (Normal, NONE)
+-------------------------------------------------------------------------
+                           Receive email
+                           with password
+-------------------------------------------------------------------------