mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +00:00
Merge Add fcitx5 dbus interface to fcitx abstraction
Similar reference in snapd https://github.com/snapcore/snapd/pull/12924 Reference upstream implementation: https://github.com/fcitx/fcitx/blob/master/src/frontend/ipcportal/ipcportal.h https://github.com/fcitx/fcitx5/blob/master/src/frontend/dbusfrontend/dbusfrontend.cpp MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1222 Approved-by: Georgia Garcia <georgia.garcia@canonical.com> Merged-by: Georgia Garcia <georgia.garcia@canonical.com>
This commit is contained in:
@@ -22,5 +22,18 @@
|
|||||||
|
|
||||||
owner @{HOME}/.config/fcitx/dbus/* r,
|
owner @{HOME}/.config/fcitx/dbus/* r,
|
||||||
|
|
||||||
|
# Allow access to the Fcitx portal, supported by fcitx/fcitx5
|
||||||
|
dbus (send)
|
||||||
|
bus=session
|
||||||
|
path=/{,org/freedesktop/portal/}inputmethod
|
||||||
|
interface=org.fcitx.Fcitx.InputMethod1
|
||||||
|
member={CreateInputContext,Version}
|
||||||
|
peer=(name=org.freedesktop.portal.Fcitx),
|
||||||
|
|
||||||
|
dbus (send, receive)
|
||||||
|
bus=session
|
||||||
|
path=/{,org/freedesktop/portal/}inputcontext/**
|
||||||
|
interface=org.fcitx.Fcitx.InputContext1,
|
||||||
|
|
||||||
# Include additions to the abstraction
|
# Include additions to the abstraction
|
||||||
include if exists <abstractions/fcitx-strict.d>
|
include if exists <abstractions/fcitx-strict.d>
|
||||||
|
Reference in New Issue
Block a user