Grant and revoke privileges to user