Dynamic config of viewOnly.