[enhancement]: Block write to foreign R/O states
No existing issues.
- [X] There is no existing issue for my request.
Description
I suggest to block writing to FOREIGN states with attribute write:false.
Adapter code should only be allowed to write to OWN RO states nd to some general purpose areas like 0_userdate_0. This would enhance code quality and block bad written adapters to write to states where the can confuse the complete system (i.e. admin.x.info.updatesJson).
Why?
see description
Suggestion would ensure that random / illegal writes are blocked and errors resulting from such actions are minimized thus improving stability. As (as far as I have been told) a warning ist already output, changing this to blocking should not cause any noticeable overhead.
How?
No response
One example to not do this: hm-rega writes read-only states in hm-rpc namespace and it is valid.