diff options
author | Adam Chlipala <adamc@hcoop.net> | 2010-04-13 16:30:46 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2010-04-13 16:30:46 -0400 |
commit | 27a53b9cda6c4e3e1732659fe44a7fb6bad03655 (patch) | |
tree | 4161156186558a96b0a98dfd068d7491bb518d83 /tests/policy.ur | |
parent | 8f4b1358953635df5066b83c250a64f28caf8190 (diff) |
Completely redid main Iflow logic; so far, policy and policy2 work
Diffstat (limited to 'tests/policy.ur')
-rw-r--r-- | tests/policy.ur | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/policy.ur b/tests/policy.ur index 69455cd7..fedc3fcb 100644 --- a/tests/policy.ur +++ b/tests/policy.ur @@ -9,9 +9,7 @@ table order : { Id : order, Fruit : fruit, Qty : int, Code : int } CONSTRAINT Fruit FOREIGN KEY Fruit REFERENCES fruit(Id) (* Everyone may knows IDs and names. *) -policy sendClient (SELECT fruit.Id - FROM fruit) -policy sendClient (SELECT fruit.Nam +policy sendClient (SELECT fruit.Id, fruit.Nam FROM fruit) (* The weight is sensitive information; you must know the secret. *) |