This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
stats:proc:revokeassistantrights [2011/09/29 19:32] Patrick Michel |
stats:proc:revokeassistantrights [2012/05/29 16:38] Patrick Michel |
||
---|---|---|---|
Line 6: | Line 6: | ||
assume exists //accounts/account[username]/exercise[exerciseId]; # implies the account exists, which is implicitly true anyway | assume exists //accounts/account[username]/exercise[exerciseId]; # implies the account exists, which is implicitly true anyway | ||
- | assume exists //exercises/exercise[exerciseId]/assistant[account]; # implied by integrity and the assumption before | + | assume exists //exercises/exercise[exerciseId]/assistant[username]; # implied by integrity and the assumption before |
remove //accounts/account[username]/exercise[exerciseId]; | remove //accounts/account[username]/exercise[exerciseId]; | ||
- | remove //exercises/exercise[exerciseId]/assistant[account]; | + | remove //exercises/exercise[exerciseId]/assistant[username]; |
} | } | ||
</code> | </code> | ||