This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
stats:proc:revokeexaminerrights [2011/09/27 20:37] Patrick Michel created |
stats:proc:revokeexaminerrights [2011/09/29 19:32] Patrick Michel |
||
---|---|---|---|
Line 2: | Line 2: | ||
<code xcend> | <code xcend> | ||
- | revokeExaminerRights(ident username, ident examId) { | + | revokeExaminerRights(ident uid, ident username, ident examId) { |
+ | assume exists //accounts/account[uid]/admin; | ||
assume exists //accounts/account[username]/examiner[exam]; # implies the account exists, which is implicitly true anyway | assume exists //accounts/account[username]/examiner[exam]; # implies the account exists, which is implicitly true anyway | ||
assume exists //exams/exam[examId]/examiner[account]; # implied by integrity and the assumption before | assume exists //exams/exam[examId]/examiner[account]; # implied by integrity and the assumption before |