Add attribute protect to userVariables

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Add attribute protect to userVariables

Post 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.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
User avatar
Dnpwwo
Posts: 820
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Add attribute protect to userVariables

Post by Dnpwwo »

@waaren,

Protecting user variables is a solution.

My question is: What is the problem that you are trying to solve?
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Add attribute protect to userVariables

Post 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.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest