Commit 06a3a65
authored
Improve the CEL for checking both Global and Collection access in a DatabaseApiKey (v2). (#126)
The correct way to check for the presence of a oneof field in CEL is by using the has() macro. For example, has(r.global_access) will correctly return true only if the global_access field is set in the scope oneof.1 parent 6cfaede commit 06a3a65
4 files changed
Lines changed: 25 additions & 25 deletions
File tree
- gen
- go/qdrant/cloud/cluster/auth/v2
- python/qdrant/cloud/cluster/auth/v2
- typescript/qdrant/cloud/cluster/auth/v2
- proto/qdrant/cloud/cluster/auth/v2
Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments