Skip to content
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

OPA should support multiple tokens in the chain #51

Closed
fkautz opened this issue Jan 21, 2020 · 1 comment
Closed

OPA should support multiple tokens in the chain #51

fkautz opened this issue Jan 21, 2020 · 1 comment

Comments

@fkautz
Copy link
Member

fkautz commented Jan 21, 2020

OPA currently only reasons on a single token in the chain. It will be useful to have OPA support multiple tokens so that it can reason about elements deeper in the chain.

Context: #40 (comment)

@denis-tingaikin
Copy link
Member

@fkautz Currently we have a few policies that are using multi tokens :

  1. https://github.com/networkservicemesh/sdk/blob/main/pkg/tools/opa/policies/tokens_chained.rego
  2. https://github.com/networkservicemesh/sdk/blob/main/pkg/tools/opa/policies/tokens_expired.rego

Let me know if you have something other in mind and then we can reopen this issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants