FUXA icon indicating copy to clipboard operation
FUXA copied to clipboard

[FEATURE] modify control's property/settings via script

Open IonuDragomir1 opened this issue 1 year ago • 7 comments

Hi,

BUG: A few days ago I was testing, on FUXA, button's enable authorization property. When logged as Operator, I was able to press on a button which was enabled only for Engineer. Even though button's action wasn't executed, the operator was able to press it. Normally, the button should have been completely disabled and when the user is logged as operator and button enabled for engineer.

FEATURE: All SCADA environments have the possibility of disabling controls (buttons, input fields, slider, switch, select value, etc.). This option should be available independent of the type of logged user (admin, operator, engineer, etc.). There are many practical scenarios when a control must be disabled for a period of time until it can be enabled to accomplish its function. So would be useful if on control's property page would be added a check box to disable/enable it.

image

IonuDragomir1 avatar Feb 16 '24 08:02 IonuDragomir1

Hi, your request already exists and should be applied to all Shapes and Controls #339 why do I have to show a button that I cannot use?

unocelli avatar Feb 17 '24 16:02 unocelli

Hi,

your request already exists and should be applied to all Shapes and Controls https://github.com/frangoteam/FUXA/issues/339

Sorry, I forgot about the request I made almost two years ago. 😅

why do I have to show a button that I cannot use?

Let's say you have a window with four buttons from which you can control a mechanism.

image

So, when the mechanism is on AUTO mode, the buttons OPEN and CLOSE should be disabled. When the mechanism is on MAN mode, the buttons OPEN and CLOSE should be enabled.

IonuDragomir1 avatar Feb 19 '24 08:02 IonuDragomir1

OK, but then it is not a question of authorizations. It could be solved by adding the function via script.

unocelli avatar Feb 23 '24 20:02 unocelli

So, when the mechanism is on AUTO mode, the buttons OPEN and CLOSE should be disabled. When the mechanism is on MAN mode, the buttons OPEN and CLOSE should be enabled.

Hi, that would be exactly what I also need.

kheinrich188 avatar Apr 17 '24 07:04 kheinrich188

What would also be practical to avoid duplicate shapes is that disabled works on shapes and then no actions can run. I currently have 2 shapes that are either hide or show depending on which mode is active, since the "manual" shapes is clickable while the "automatic" shapes isn´t.

kheinrich188 avatar Apr 17 '24 07:04 kheinrich188

i also need this feature, is it resolved?

jay-jjwu avatar Aug 05 '24 16:08 jay-jjwu

@jay-jjwu not yet

kheinrich188 avatar Aug 06 '24 04:08 kheinrich188