User Tools

Site Tools


stats:proc:revokeexaminerrights

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
stats:proc:revokeexaminerrights [2011/09/29 19:32]
Patrick Michel
stats:proc:revokeexaminerrights [2012/05/29 16:39]
Patrick Michel
Line 5: Line 5:
   assume exists //​accounts/​account[uid]/​admin;​   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[examId]; # 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[username]; # implied by integrity and the assumption before
  
-  remove //​accounts/​account[username]/​examiner[exam];+  remove //​accounts/​account[username]/​examiner[examId];
   remove //​exams/​exam[examId]/​examiner[username];​   remove //​exams/​exam[examId]/​examiner[username];​
 } }
 </​code>​ </​code>​
stats/proc/revokeexaminerrights.txt · Last modified: 2013/07/10 12:32 (external edit)