This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
stats:schema:account [2011/10/04 13:52] Patrick Michel |
stats:schema:account [2012/04/11 14:33] Patrick Michel |
||
---|---|---|---|
Line 6: | Line 6: | ||
<code xcend> | <code xcend> | ||
- | element accounts { [ size(./account/admin) > 0 ] # NEW | + | element accounts { [ size(./account/admin) > 0 ] |
- | element account * username { # 2.1 | + | element account * username { |
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 admin ? { } | ||
- | element examiner * exam {[ exists //exams/exam[./exam] ]} # 1.1, 2.3 | + | element examiner * exam {[ exists //exams/exam[./exam]/examiner[../username] ]} |
- | element assistant * exercise {[ exists //exercises/exercise[./exercise] ]} # 1.2, 2.4 | + | element assistant * exercise {[ exists //exercises/exercise[./exercise]/assistant[../username] ]} |
element tutor * exercise { | element tutor * exercise { | ||
- | element group * id {[ exists //exercises/exercise[../exercise]/groups/group[./id] ]} # 1.3, 2.5 | + | element group * id {[ exists //exercises/exercise[../exercise]/groups/group[./id]/tutor[..account/username] ]} |
} | } | ||
element student ? { | element student ? { | ||
- | attribute id { ident [ count(., //acounts/account/student/id) = 1 ]} # 2.2 | + | attribute id { ident [ count(., //accounts/account/student/id) = 1 ]} |
} | } | ||
} | } | ||
Line 31: | Line 33: | ||
{{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 ==== | ||