mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 05:47:59 +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:
commit
e1de0bb5d5
@ -22,5 +22,18 @@
|
||||
|
||||
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 if exists <abstractions/fcitx-strict.d>
|
||||
|
Loading…
x
Reference in New Issue
Block a user