stats:proc:revokeassistantrights
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| stats:proc:revokeassistantrights [2011/09/28 23:50] – Patrick Michel | stats:proc:revokeassistantrights [2013/07/10 12:32] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| <code xcend> | <code xcend> | ||
| - | revokeAssistantRights(ident username, ident exerciseId) { | + | revokeAssistantRights(ident uid, ident username, ident exerciseId) { |
| - | assume exists | + | assume exists /account[uid]/admin; |
| - | assume exists // | + | |
| - | | + | |
| - | remove //exercises/ | + | assume exists |
| - | } # roles: admin | + | |
| + | remove /account[username]/assistant[exerciseId]; | ||
| + | remove | ||
| + | } | ||
| </ | </ | ||
stats/proc/revokeassistantrights.1317246652.txt.gz · Last modified: by Patrick Michel
