Permission command send

dilkh2 years ago

Hello. Access to commands is available only if the permissions set - Administrator. Or if you remove Only viewing and Only viewing devices. How do I set the rights correctly so that only viewing devices is allowed and sending commands is allowed?

Anton Tananaev2 years ago

You should be able to send commands with "device readonly" users.

dilkh2 years ago

Set the rights-access is still closed.
22012023

Anton Tananaev2 years ago

I said "device read-only", not "read-only".

dilkh2 years ago

Installed. The user can send commands. But now the user can also change all settings (except for users and admin ones).That is, he can delete himself from the group and change the saved commands.
22012023

Anton Tananaev2 years ago

That's expected. It's only device read-only.

dilkh2 years ago

And how can I fix it ? Or write your own front?

dilkh2 years ago

But thanks for your help anyway.

Anton Tananaev2 years ago

It's not broken, so it's not something that needs fixing. If you want to change the behavior, you have to customize the code.

dilkh2 years ago

Thanks for the tip. I will modify the code.

Anton Tananaev2 years ago
dilkh2 years ago

I'll rebuild it now. Thanks

dilkh2 years ago

Reassembled. There is no access. Archive with attached.
Build on
Ubuntu 20.
Java 11.0.17
Gradle 7.6

https://disk.yandex.ru/d/-D4MJxG6kY20YA

Anton Tananaev2 years ago

I tested it locally before, so I suspect you're missing something.

dilkh2 years ago

Please tell me which versions (jdk,node,gradle) are better to use for building the web-modern?
Thanks!