implement check for require-edits and require-autoconfirmed