User Tools

Site Tools


stats:proc:revokeadminrights

This is an old revision of the document!


Revoke Admin Rights

revokeAdminRights(ident username) {
  assume exists //accounts/account[username]/admin; # implies the account exists, which is implicitly true anyway
 
  assume size(//accounts/account/admin) > 1; # kind of a practical constraint
 
  remove //accounts/account[username]/admin;
} # roles: admin
stats/proc/revokeadminrights.1317246618.txt.gz · Last modified: 2011/09/28 23:50 by Patrick Michel