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;
}
stats/proc/revokeadminrights.1317237568.txt.gz · Last modified: by Patrick Michel

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki