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