Validates that the target account's isReadOnly property is false
Read-only accounts cannot accept any data modification operations
All /set methods (create, update, destroy) require write access
Attempting modifications on read-only accounts would fail with an accountReadOnly error
This validator catches the error client-side before making a server request, providing
immediate feedback when attempting invalid operations on read-only accounts.
Prevents
/setmethod calls on read-only accounts.Read-Only Account Protection (RFC 8620 Section 1.6.2, Section 5.3):
isReadOnlyproperty isfalse/setmethods (create, update, destroy) require write accessaccountReadOnlyerrorThis validator catches the error client-side before making a server request, providing immediate feedback when attempting invalid operations on read-only accounts.
Common read-only scenarios: