-
Notifications
You must be signed in to change notification settings - Fork 20
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
introduce caveat context in PermissionService #40
Conversation
3f47eb1
to
008d221
Compare
3d87dec
to
4df875a
Compare
4df875a
to
c962285
Compare
.github/workflows/lint.yaml
Outdated
@@ -4,10 +4,9 @@ on: | |||
push: | |||
branches: | |||
- "!dependabot/*" | |||
- "*" | |||
- "main" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we don't get duplicated CI builds running in a PR. It's the same pattern we use in other repos.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you put that as a distinct commit then and explain that in the message?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addressed in 1a3254e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally, development would be done on a fork and this value should be *
so that if we were to produce a v2 branch etc... it would run CI correctly.
this makes it possible for clients to provide context for caveat evaluation at request time. This context will be injected at evaluation time and influence the evaluation result.
c962285
to
5b454a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
1a3254e
to
5b454a7
Compare
Part of authzed/spicedb#881
Part of authzed/spicedb#882
Part of authzed/spicedb#880
this makes it possible for clients to provide context for caveat evaluation at request time.
This context will be injected at evaluation time and influence the evaluation result.