summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-04-11 12:38:21 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-04-11 12:38:21 -0400
commitaccb8e1bf49e1c1e8300bda9be3cf72ce592ab44 (patch)
treec7a250099af040fd7ee16b03be72b7037e71d515 /lib
parent7b4f69ace67601a0f22de52f91f96deff540fd37 (diff)
Delete policies
Diffstat (limited to 'lib')
-rw-r--r--lib/ur/basis.urs4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs
index 8ae6597e..501284b7 100644
--- a/lib/ur/basis.urs
+++ b/lib/ur/basis.urs
@@ -808,5 +808,9 @@ val mayInsert : fs ::: {Type} -> tables ::: {{Type}} -> [[New] ~ tables]
=> sql_query [] ([New = fs] ++ tables) []
-> sql_policy
+val mayDelete : fs ::: {Type} -> tables ::: {{Type}} -> [[Old] ~ tables]
+ => sql_query [] ([Old = fs] ++ tables) []
+ -> sql_policy
+
val debug : string -> transaction unit