stats:proc:changeattributes_account
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| stats:proc:changeattributes_account [2011/09/27 20:05] – created Patrick Michel | stats:proc:changeattributes_account [2013/07/10 12:32] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| <code xcend> | <code xcend> | ||
| - | # the current implementation also changes the username, i.e. it would need an additional parameter, I can't support it and I would forbid it anyway. | + | # the current implementation also changes the username, i.e. it would need an additional parameter, |
| - | changeAttributes(ident username, string firstName, string lastName, string email, string password) { | + | # I can't support it and I would forbid it anyway. |
| - | assume exists //accounts/ | + | changeAttributes(ident uid, ident username, string firstName, string lastName) { |
| + | assume exists /account[uid]/admin || uid = username; | ||
| + | |||
| + | assume exists | ||
| - | update | + | update / |
| - | update | + | update / |
| - | update // | + | |
| - | update // | + | |
| } | } | ||
| </ | </ | ||
stats/proc/changeattributes_account.1317146743.txt.gz · Last modified: by Patrick Michel
