# vim:syntax=apparmor
# Allow writing cache for Qt5 "platforminputcontexts" plugins

  abi <abi/4.0>,

  # User files

  owner @{HOME}/.cache/qt_compose_cache_{little,big}_endian_* rwl -> @{HOME}/.cache/#[0-9]*[0-9],
  owner @{HOME}/.cache/#[0-9]*[0-9] rw, # QSaveFile (anonymous shared memory)


  # Include additions to the abstraction
  include if exists <abstractions/qt5-compose-cache-write.d>
