eclipse-kura / kura

Eclipse Kura™ is a versatile framework to supercharge your edge devices, streamlining the process of configuring your gateway, connecting sensors, and IoT devices to seamlessly collect, process, and send data to the cloud.
https://eclipse.dev/kura/
Eclipse Public License 2.0
498 stars 305 forks source link

fix: Allow kurad to shutdown and reboot the system #5252

Closed nicolatimeus closed 3 months ago

nicolatimeus commented 4 months ago

Note: We are using the Conventional Commits convention for our pull request titles. Please take a look at the PR title format document for the supported types and scopes.

Brief description of the PR. [e.g. Added null check on object to avoid NullPointerException]

Uptates polkit rules to allow kurad to perform the following actions:

allowing to suspend, reboot and poweroff the device through systemd even if there are other users logged in.