50-default-access-config.lua 729 B

12345678910111213141516171819202122232425262728293031323334353637
  1. default_access.enabled = true
  2. default_access.properties = {
  3. -- Enable the use of the flatpak portal integration.
  4. -- Disable if you are running a system-wide instance, which
  5. -- doesn't have access to the D-Bus user session
  6. ["enable-flatpak-portal"] = true,
  7. }
  8. default_access.rules = {
  9. {
  10. matches = {
  11. {
  12. { "pipewire.access", "=", "flatpak" },
  13. { "media.category", "=", "Manager" },
  14. },
  15. },
  16. default_permissions = "all",
  17. },
  18. {
  19. matches = {
  20. {
  21. { "pipewire.access", "=", "flatpak" },
  22. },
  23. },
  24. default_permissions = "rx",
  25. },
  26. {
  27. matches = {
  28. {
  29. { "pipewire.access", "=", "restricted" },
  30. },
  31. },
  32. default_permissions = "rx",
  33. },
  34. }