Permission command send

dilkh 3 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 Tananaev 3 years ago

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

dilkh 3 years ago

Set the rights-access is still closed.
22012023

Anton Tananaev 3 years ago

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

dilkh 3 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 Tananaev 3 years ago

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

dilkh 3 years ago

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

dilkh 3 years ago

But thanks for your help anyway.

Anton Tananaev 3 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.

dilkh 3 years ago

Thanks for the tip. I will modify the code.

Anton Tananaev 3 years ago
dilkh 3 years ago

I'll rebuild it now. Thanks

dilkh 3 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 Tananaev 3 years ago

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

dilkh 3 years ago

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