acl_tests__tests__multiwebview.snap 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. ---
  2. source: crates/tests/acl/src/lib.rs
  3. expression: resolved
  4. ---
  5. Resolved {
  6. allowed_commands: {
  7. "plugin:ping|ping": [
  8. ResolvedCommand {
  9. context: Local,
  10. windows: [
  11. Pattern {
  12. original: "main",
  13. tokens: [
  14. Char(
  15. 'm',
  16. ),
  17. Char(
  18. 'a',
  19. ),
  20. Char(
  21. 'i',
  22. ),
  23. Char(
  24. 'n',
  25. ),
  26. ],
  27. is_recursive: false,
  28. },
  29. ],
  30. webviews: [
  31. Pattern {
  32. original: "child1",
  33. tokens: [
  34. Char(
  35. 'c',
  36. ),
  37. Char(
  38. 'h',
  39. ),
  40. Char(
  41. 'i',
  42. ),
  43. Char(
  44. 'l',
  45. ),
  46. Char(
  47. 'd',
  48. ),
  49. Char(
  50. '1',
  51. ),
  52. ],
  53. is_recursive: false,
  54. },
  55. Pattern {
  56. original: "child2",
  57. tokens: [
  58. Char(
  59. 'c',
  60. ),
  61. Char(
  62. 'h',
  63. ),
  64. Char(
  65. 'i',
  66. ),
  67. Char(
  68. 'l',
  69. ),
  70. Char(
  71. 'd',
  72. ),
  73. Char(
  74. '2',
  75. ),
  76. ],
  77. is_recursive: false,
  78. },
  79. ],
  80. scope_id: None,
  81. },
  82. ],
  83. },
  84. denied_commands: {},
  85. command_scope: {},
  86. global_scope: {},
  87. }