feat(dbus): rewrite some dbus rules (6).
This commit is contained in:
parent
ebf3932e3a
commit
c066ef0036
29 changed files with 122 additions and 412 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
dbus send bus=session path=/org/freedesktop/portal/desktop
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
member=Read
|
||||
member={GetAll,Read}
|
||||
peer=(name="{:*,org.freedesktop.portal.Desktop}", label=xdg-desktop-portal),
|
||||
|
||||
dbus send bus=session path=/org/freedesktop/portal/desktop
|
||||
|
|
|
|||
10
apparmor.d/abstractions/bus/notification
Normal file
10
apparmor.d/abstractions/bus/notification
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
dbus send bus=session path=/org/freedesktop/Notifications
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
member=GetAll
|
||||
peer=(name=:*, label=gjs-console),
|
||||
|
||||
include if exists <abstractions/bus/notification.d>
|
||||
|
|
@ -7,6 +7,11 @@
|
|||
member=GetManagedObjects
|
||||
peer=(name=:*, label=udisksd),
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/UDisks2/**
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
member=GetAll
|
||||
peer=(name=:*, label=udisksd),
|
||||
|
||||
dbus receive bus=system path=/org/freedesktop/UDisks2
|
||||
interface=org.freedesktop.DBus.ObjectManager
|
||||
member=InterfacesAdded
|
||||
|
|
|
|||
|
|
@ -1,26 +0,0 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
dbus (send) bus=session path=/org/gtk/vfs/mounttracker
|
||||
interface=org.gtk.vfs.MountTracker
|
||||
member=ListMountableInfo
|
||||
peer=(name=:*),
|
||||
|
||||
dbus (send) bus=session path=/org/gtk/vfs/Daemon
|
||||
interface=org.gtk.vfs.Daemon
|
||||
member=ListMonitorImplementations
|
||||
peer=(name=:*),
|
||||
|
||||
dbus (send) bus=session path=/org/gtk/Settings
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
member=GetAll
|
||||
peer=(name=:*),
|
||||
|
||||
dbus (send, receive) bus=session path=/org/freedesktop/Notifications
|
||||
interface=org.freedesktop.Notifications
|
||||
peer=(name="{org.freedesktop.Notifications,org.freedesktop.DBus,:*}"), # all members
|
||||
|
||||
# Include additions to the abstraction
|
||||
include if exists <abstractions/dbus-gtk.d>
|
||||
Loading…
Add table
Add a link
Reference in a new issue