User Tools

Site Tools


stats:schema:stats

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
stats:schema:stats [2011/09/28 21:18]
Patrick Michel [The Whole Stat System]
stats:schema:stats [2012/01/11 14:53] (current)
Patrick Michel [Account Management]
Line 9: Line 9:
 The procedures to create and manage these major parts are among the most important ones of the system. The procedures to create and manage these major parts are among the most important ones of the system.
 ===== Procedures ===== ===== Procedures =====
 +
 +==== System Creation ====
 +
 +This is not real atomic operation, more like a constructor for the whole type. It is useful to think about what the smallest valid document is, however.
 +
 +{{page>​stats:​proc:​createEmptyStats&​noheader&​nofooter}}
  
 ==== Account Management ==== ==== Account Management ====
  
-Two of the most important procedures, as they create and remove ​elements of a major part of the system, namely [[account]].+Three of the most important procedures, as they create and delete ​elements of a major part of the system, namely [[account]].
  
 Naturally, **a lot** of things depend on accounts and their associated roles. Especially the student role restricts the deletion of accounts. Naturally, **a lot** of things depend on accounts and their associated roles. Especially the student role restricts the deletion of accounts.
 +
 +The third procedure is a compound procedure, which combines account and student role creation and therefore also combines their preconditions. This is the procedure which should be offered for everyone, especially guests.
 +
 +Finally, there are more procedures which can be called by anyone, as they are concerned about users who lost their password.
  
 {{page>​stats:​proc:​createAccount&​noheader&​nofooter}} {{page>​stats:​proc:​createAccount&​noheader&​nofooter}}
  
-{{page>​stats:​proc:​removeAccount&​noheader&​nofooter}}+{{page>​stats:​proc:​deleteAccount&​noheader&​nofooter}} 
 + 
 +{{page>​stats:​proc:​createStudentAccount&​noheader&​nofooter}} 
 + 
 +{{page>​stats:​proc:​requestReset&​noheader&​nofooter}} 
 +{{page>​stats:​proc:​resetPassword&​noheader&​nofooter}} 
 + 
 +==== Validation and Authentication ==== 
 + 
 +The free procedures to create a student account comes with the obligation to validate the email address. Its only then that the user can authenticate. The latter is not a real procedure, as nothing even gets modified in the system. It is there to illustrate who the [[:​stats:​roles]] system works. 
 + 
 +{{page>​stats:​proc:​validateAccount&​noheader&​nofooter}} 
 + 
 +{{page>​stats:​proc:​authenticate&​noheader&​nofooter}} 
 + 
 + 
 +==== Exercise Management ==== 
 + 
 +Also two of the most important procedures, as they create and delete elements of a major part of the system, namely [[exercise]]. 
 + 
 +A few roles, like tutor and assistant, depend on the existence of an exercise. Students sign-up status, on the other hand, just gets removed as well. 
 + 
 +{{page>​stats:​proc:​createExercise&​noheader&​nofooter}} 
 + 
 +{{page>​stats:​proc:​deleteExercise&​noheader&​nofooter}} 
 + 
 +==== Exam Management ==== 
 + 
 +Finally, the last two of the most important procedures, which create and delete elements of a major part of the system, namely [[exam]]. 
 + 
 +The examiner role depends on the existence of an exam. 
 + 
 +{{page>​stats:​proc:​createExam&​noheader&​nofooter}} 
 + 
 +{{page>​stats:​proc:​deleteExam&​noheader&​nofooter}}
  
  
stats/schema/stats.1317237524.txt.gz · Last modified: 2011/09/28 21:18 by Patrick Michel