Skip to content

Commit

Permalink
Merge pull request #1959 from josephschorr/intersection-arrow-steelth…
Browse files Browse the repository at this point in the history
…read

Add a steelthread test for intersection arrows
  • Loading branch information
vroldanbet committed Jul 1, 2024
2 parents 02374f8 + 35d4152 commit 0ddd81a
Show file tree
Hide file tree
Showing 3 changed files with 1,420 additions and 0 deletions.
16 changes: 16 additions & 0 deletions internal/services/steelthreadtesting/definitions.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,20 @@ var steelThreadTestCases = []steelThreadTestCase{
},
},
},
{
name: "lookup subjects intersection arrow",
datafile: "document-with-intersect-arrow.yaml",
operations: []steelThreadOperationCase{
{
name: "uncursored lookup subjects for somedoc",
operationName: "lookupSubjects",
arguments: map[string]any{
"resource_type": "document",
"resource_object_id": "somedoc",
"permission": "view",
"subject_type": "user",
},
},
},
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
- 'user-2'
- 'user-3'
- 'user-4'
- 'user-5'
- 'user-6'
- 'user-7'
- 'user-8'
- 'user-9'
Loading

0 comments on commit 0ddd81a

Please sign in to comment.