kdelibs/kdecore/dbus_policy.stub
Ivailo Monev c4d7fcfaa8 kdecore: drop reliance on wheel group for KAuthorization helpers
groups are obsolete thing (e.g. disk, optical, power, etc.)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-10 02:54:21 +03:00

16 lines
471 B
Text

<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- Only user root can own the foo helper -->
<policy user="root">
<allow own="@HELPER_ID@"/>
</policy>
<!-- Anyone can send messages to the foo helper -->
<policy context="default">
<allow send_destination="@HELPER_ID@"/>
<allow send_interface="@HELPER_ID@"/>
</policy>
</busconfig>