summaryrefslogtreecommitdiff
path: root/lib/ur/basis.urs
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-04-11 13:11:25 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-04-11 13:11:25 -0400
commit30b7dba0eaa5a961ded15729ba64bbf67ce8903e (patch)
tree95861c082c2ded5a4d08911b8180b311fced7d24 /lib/ur/basis.urs
parentefb882576e0fe75fa25829b417ea909b572634a5 (diff)
Update policies
Diffstat (limited to 'lib/ur/basis.urs')
-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 501284b7..3241cc9a 100644
--- a/lib/ur/basis.urs
+++ b/lib/ur/basis.urs
@@ -812,5 +812,9 @@ val mayDelete : fs ::: {Type} -> tables ::: {{Type}} -> [[Old] ~ tables]
=> sql_query [] ([Old = fs] ++ tables) []
-> sql_policy
+val mayUpdate : fs ::: {Type} -> tables ::: {{Type}} -> [[Old, New] ~ tables]
+ => sql_query [] ([Old = fs, New = fs] ++ tables) []
+ -> sql_policy
+
val debug : string -> transaction unit