Add roles access for the deduction of the readOnly field