- Notifications
You must be signed in to change notification settings - Fork926
chore: Update rego to be partial execution friendly#3449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
30 commits Select commitHold shift + click to select a range
b3536bc
chore: Update rego to be partial execution friendly
Emyrk75e3a12
test: Add unit test to verify partial query support
Emyrk6cdf575
Add partial filtering and evaluation
Emyrkf5eacd0
Benmark Partials
Emyrk4a7c68e
Linting
Emyrkdf75be5
Spelling
Emyrke90ac2d
Fix recording fake authorizer
Emyrk1e774e0
Fix partial query tests
Emyrk38917dc
Working partial execution to queries
Emyrke139a1f
Cleanup
Emyrkc44d4d1
Cleanup
Emyrk19f3557
Add comments
Emyrkf9dd9aa
Spelling
Emyrkbed9f4f
Remove old Filter
Emyrk74d90f4
Improve error message
Emyrkfe0d05a
Comments
Emyrkdd5c55c
Make test parallel
Emyrkae22f89
Fix typo
Emyrk0266963
Drop an arg from Filter
Emyrkaf457b9
Test timed out
Emyrk21f4f21
Test less random, rename param
Emyrk2c87220
Add rego comments with explainations
Emyrk1c407ab
Add more rego comments
Emyrk9f9b2d1
Move fakeauthorizer code
Emyrkab55cf5
Unexport partial fields
Emyrkabf098d
Reduce wait
Emyrk44c7370
Linting + Typos
Emyrk4611322
Wording
Emyrkc8e26a8
Test runs long
Emyrk510e94b
The single test is taking too long
EmyrkFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
16 changes: 14 additions & 2 deletionscoderd/authorize.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
34 changes: 27 additions & 7 deletionscoderd/coderd_test.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
9 changes: 8 additions & 1 deletioncoderd/provisionerdaemons.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
71 changes: 48 additions & 23 deletionscoderd/rbac/authz.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.