Page 1 of 1

Add attribute protect to userVariables

Posted: Saturday 27 July 2019 13:03
by waaren
Protection can now be set for devices, scenes and groups.(defaults to false)

I realize that implementing this also for userVariables will be a significant programming effort in various areas of the domoticz system. That is the reason why I want to know if more users want this.
Question to core developers; is this a viable request ? I don't want to pollute the github with a feature request that do not have a chance to get implemented.

Re: Add attribute protect to userVariables

Posted: Monday 29 July 2019 12:03
by Dnpwwo
@waaren,

Protecting user variables is a solution.

My question is: What is the problem that you are trying to solve?

Re: Add attribute protect to userVariables

Posted: Monday 29 July 2019 12:53
by waaren
Dnpwwo wrote: Monday 29 July 2019 12:03 What is the problem that you are trying to solve?
It is not so much a problem as it is because I noticed the difference. Devices, groups and scenes can be protected against updating via the GUI or via the API and userVariables can not. I don't know if this was a design decision or an omission when protection was implemented.
Could also well be that I am overlooking something.