# vim:syntax=apparmor
# Allow updating recent documents

  abi <abi/3.0>,

  # User files

  owner @{HOME}/.local/share/RecentDocuments/ rw,
  owner @{HOME}/.local/share/RecentDocuments/#[0-9]* rw,
  owner @{HOME}/.local/share/RecentDocuments/*.desktop rwl -> @{HOME}/.local/share/RecentDocuments/#[0-9]*,
  owner @{HOME}/.local/share/RecentDocuments/*.lock rwk,


  # Include additions to the abstraction
  include if exists <abstractions/recent-documents-write.d>
