--- a/web/ldt/text/views.py Thu Dec 16 15:00:30 2010 +0100
+++ b/web/ldt/text/views.py Wed Dec 22 12:01:05 2010 +0100
@@ -70,6 +70,7 @@
## Creates an annotation from a urlencoded xml content
## Returns an xml-structured annotation
+@oauth_required
@csrf_exempt
def create_annotation(request):
cont = request.POST["content"]
@@ -148,6 +149,7 @@
## Deletes an annotation (from its id)
## Returns an empty xml-structured annotation
+@oauth_required
@csrf_exempt
def delete_annotation(request):
try:
@@ -161,6 +163,7 @@
## Updates the content of an annotation
## Returns the xml-structured updated annotation
+@oauth_required
@csrf_exempt
def update_annotation(request):
try: