feat(dbus): add initial polkit abstraction.
This commit is contained in:
parent
7f38dd255e
commit
d6888a65c4
16 changed files with 35 additions and 14 deletions
|
|
@ -11,6 +11,7 @@ include <tunables/global>
|
|||
profile pkexec @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/authentication>
|
||||
include <abstractions/bus/polkit>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/dbus-strict>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
|
@ -36,11 +37,6 @@ profile pkexec @{exec_path} {
|
|||
member=GetAll
|
||||
peer=(name=:*),
|
||||
|
||||
dbus (send) bus=system path=/org/freedesktop/PolicyKit1/Authority
|
||||
interface=org.freedesktop.PolicyKit1.Authority
|
||||
member={EnumerateActions,CheckAuthorization,RegisterAuthenticationAgent,UnregisterAuthenticationAgent}
|
||||
peer=(name=:*),
|
||||
|
||||
dbus (receive) bus=system path=/org/freedesktop/PolicyKit1*/Authority
|
||||
interface=org.freedesktop.PolicyKit1*.Authority
|
||||
member=Changed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue