feat(abs): update org.freedesktop.PolicyKit1
This commit is contained in:
parent
445576fe1c
commit
e09251d266
1 changed files with 6 additions and 8 deletions
|
|
@ -2,6 +2,8 @@
|
||||||
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
# Can talk to polkitd's CheckAuthorization API
|
||||||
|
|
||||||
abi <abi/4.0>,
|
abi <abi/4.0>,
|
||||||
|
|
||||||
#aa:dbus common bus=system name=org.freedesktop.PolicyKit1 label="@{p_polkitd}"
|
#aa:dbus common bus=system name=org.freedesktop.PolicyKit1 label="@{p_polkitd}"
|
||||||
|
|
@ -13,17 +15,13 @@
|
||||||
|
|
||||||
dbus send bus=system path=/org/freedesktop/PolicyKit1/Authority
|
dbus send bus=system path=/org/freedesktop/PolicyKit1/Authority
|
||||||
interface=org.freedesktop.PolicyKit1.Authority
|
interface=org.freedesktop.PolicyKit1.Authority
|
||||||
member=CheckAuthorization
|
member={CheckAuthorization,CancelCheckAuthorization}
|
||||||
peer=(name=org.freedesktop.PolicyKit1, label="@{p_polkitd}"),
|
peer=(name="{@{busname},org.freedesktop.PolicyKit1}", label="@{p_polkitd}"),
|
||||||
|
|
||||||
dbus send bus=system path=/org/freedesktop/PolicyKit1/Authority
|
dbus send bus=system path=/org/freedesktop/PolicyKit1/Authority
|
||||||
interface=org.freedesktop.PolicyKit1.Authority
|
interface=org.freedesktop.PolicyKit1.Authority
|
||||||
member=CheckAuthorization
|
member=RegisterAuthenticationAgentWithOptions
|
||||||
peer=(name="@{busname}", label="@{p_polkitd}"),
|
peer=(name="{@{busname},org.freedesktop.PolicyKit1}", label="@{p_polkitd}"),
|
||||||
dbus send bus=system path=/org/freedesktop/PolicyKit1/Authority
|
|
||||||
interface=org.freedesktop.PolicyKit1.Authority
|
|
||||||
member=CheckAuthorization
|
|
||||||
peer=(name=org.freedesktop.PolicyKit1),
|
|
||||||
|
|
||||||
include if exists <abstractions/bus/org.freedesktop.PolicyKit1.d>
|
include if exists <abstractions/bus/org.freedesktop.PolicyKit1.d>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue