This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
stats:schema:stats [2011/09/28 21:30] Patrick Michel [Account Management] |
stats:schema:stats [2011/10/14 00:25] 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 delete 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. | ||
{{page>stats:proc:createAccount&noheader&nofooter}} | {{page>stats:proc:createAccount&noheader&nofooter}} | ||
Line 20: | Line 28: | ||
{{page>stats:proc:deleteAccount&noheader&nofooter}} | {{page>stats:proc:deleteAccount&noheader&nofooter}} | ||
+ | {{page>stats:proc:createStudentAccount&noheader&nofooter}} | ||
- | ==== Account Management ==== | + | |
+ | ==== 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]]. | Also two of the most important procedures, as they create and delete elements of a major part of the system, namely [[exercise]]. | ||
Line 40: | Line 59: | ||
{{page>stats:proc:deleteExam&noheader&nofooter}} | {{page>stats:proc:deleteExam&noheader&nofooter}} | ||
+ | |||
==== Admin Management ==== | ==== Admin Management ==== |