Added handling of edit_motd and edit_password_all permissions.