stats:schema:account

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
stats:schema:account [2011/09/29 11:14] – Patrick Michelstats:schema:account [2013/07/10 12:50] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== User Accounts and Roles ====== ====== User Accounts and Roles ======
  
-This page describes a major part of the [[:stats:start]] [[:stats:schema]], namely the user accounts and the role handling. It is part of [[stats]].+This page describes a major part of the [[:stats:start]] [[:stats:schema]], namely the user accounts and the [[:stats:roles]] handling. It is part of [[stats]].
  
 ===== Schema ===== ===== Schema =====
  
 <code xcend> <code xcend>
-  element accounts {                [ size(./account/admin) > 0 ] # NEW +  element account * username { 
-    element account * username {    # 2.1    +    attribute lastName          { string } 
-      attribute lastName            { string } +    attribute firstName         { string } 
-      attribute firstName           { string } +    attribute email             { string } 
-      attribute email               { string } +    attribute password          { string } 
-      attribute password            { string } +    attribute code ?            { string } 
-  +    attribute reset ?           { string } 
-      element admin ?               { } + 
-      element examiner * exam       {[ exists //exams/exam[./exam] ]} # 1.1, 2.3 +    element admin ?             { } 
-      element assistant * exercise  {[ exists //exercises/exercise[./exercise] ]} # 1.2, 2.4 +    element examiner * exam     {[ exists /exam[./exam]/examiner[../username] ]} 
-      element tutor * exercise {     +    element assistant * exercise {[ exists /exercise[./exercise]/assistant[../username] ]} 
-        element group * id          {[ exists //exercises/exercise[../exercise]/groups/group[./id] ]} # 1.3, 2.5 +    element tutor * exercise {     
-      }                              +      element group * id        {[ exists /exercise[../exercise]/group[./id]/tutor[..account/username] ]} 
-      element student ? {            +    }                              
-        attribute id                { ident [ unique //acounts/account/student[.] ]} # 2.2 +    element student ? {            
-      }                              +      attribute id              { ident [ count(., /account/student/id) = 1 ]} 
-    }                                +    }                              
-  }                                 +  } [ size(./account/admin) > 0 ]
 </code> </code>
  
Line 31: Line 31:
  
 {{page>stats:proc:changeAttributes (Account)&noheader&nofooter}} {{page>stats:proc:changeAttributes (Account)&noheader&nofooter}}
 +
 +
 +==== Password Management ====
 +
 +{{page>stats:proc:changePassword&noheader&nofooter}}
 +
 +{{page>stats:proc:requestReset&noheader&nofooter}}
 +{{page>stats:proc:resetPassword&noheader&nofooter}}
 +
 ==== Student Role ==== ==== Student Role ====
  
stats/schema/account.1317287676.txt.gz · Last modified: by Patrick Michel

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki