feat(abs): add org.freedesktop.IBus.Portal
This commit is contained in:
parent
8f0ee24000
commit
76c5586688
1 changed files with 24 additions and 0 deletions
|
|
@ -0,0 +1,24 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2025 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
# Allow access to the IBus portal
|
||||
|
||||
abi <abi/4.0>,
|
||||
|
||||
dbus send bus=session path=/org/freedesktop/IBus
|
||||
interface=org.freedesktop.IBus.Portal
|
||||
member=CreateInputContext
|
||||
peer=(name=org.freedesktop.portal.IBus),
|
||||
|
||||
dbus send bus=session path=/org/freedesktop/IBus/InputContext_@{int}
|
||||
interface=org.freedesktop.IBus.InputContext
|
||||
peer=(label=ibus-daemon),
|
||||
|
||||
dbus receive bus=session path=/org/freedesktop/IBus/InputContext_@{int}
|
||||
interface=org.freedesktop.IBus.InputContext
|
||||
peer=(label=ibus-daemon),
|
||||
|
||||
include if exists <abstractions/bus/session/org.freedesktop.IBus.Portal.d>
|
||||
|
||||
# vim:syntax=apparmor
|
||||
Loading…
Add table
Add a link
Reference in a new issue