add read-only or read&write setting