Fixed require flag for requirePermissionAuto