Manual:$wgPrivilegedGroups

Details
List of groups which should be considered privileged (user accounts belonging in these groups can be abused in dangerous ways). This is used for some security checks, mainly logging.