Правила отображения JS action

Добрый день.
Сборка: Nocobase 2.0.26-full (Docker)

В форме “Подробно” при создание JS action и настройки отображения.
image

Назначил условие ИЛИ


Кнопка становилась не активной, хотя роль root
image

А когда сменил на условие И


Кнопка становится активной
image

Возможно где то в системе перепутаны параметры для данных условий.

Прошу исправить

Hello, there are two conditions for the linkage rules: “All” and “Any”. How do you understand them?
“All” means all conditions must be met, while “Any” means any one condition must be met.

Good afternoon.
I understand what:
“ALL” is all conditions, to the logical “and”
“ANY” is any condition, to the logical “or”.

I was doing this kind of logic. If the current role does not match “root” or “ES_IUS_Moderator” then hide the button.

As a result, logging in as “root”, the button was inactive.

And when I changed it to the condition, if the current role does not match “root” and “ES_IUS_Moderator” then hide the button.

And as a result, going under “root” the button was active.

It turns out the logic works the other way around

When the condition of the linkage rule is “All”, if the data does not meet all requirements, the linkage rule will not be triggered, and the button will not be hidden as expected.

Good morning.
Sorry I was stupid yesterday, I slept and realized it)
Sorry for these questions) I need to sleep more)))))