Skip to content
Snippets Groups Projects
Commit a3d8bd0b authored by Georgi Michev's avatar Georgi Michev
Browse files

Merge branch 'add-test-policies' into 'main'

Add example/resolve/1.0 policy

See merge request gaia-x/data-infrastructure-federation-services/tsa/policies!7
parents fa33f10b 0bdadc7a
No related branches found
No related tags found
No related merge requests found
Pipeline #56347 passed with stage
in 25 seconds
......@@ -6,6 +6,3 @@ currentPrice := cache.get(input.key, "", "").currentPrice
buy {
currentPrice < 100
}
......@@ -5,4 +5,4 @@ default success = false
success = true {
msg := cache.set(data.key, "mynamespace", data.scope, input)
msg == "success"
}
\ No newline at end of file
}
package example.getKeyDID
did := "did:key:z6Mkfriq1MqLBoPWecGoDLjguo1sB9brj6wT3qZ5BxkKpuP6"
package example.resolve
data = did.resolve(input.did)
package example.test
default allow = false
allow{
input.message == "hello world"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment