summaryrefslogtreecommitdiff
path: root/lib/exe
diff options
context:
space:
mode:
authorChris Smith <chris.eureka@jalakai.co.uk>2008-04-17 11:40:10 +0200
committerChris Smith <chris.eureka@jalakai.co.uk>2008-04-17 11:40:10 +0200
commit055b0144ff6f679dfbd7a509306724beb68048f0 (patch)
tree394f7678efcd41e4c03bd2ee44448ac60b79814c /lib/exe
parent29241d070a9fe4fc8c06833716503a8c0e59d0be (diff)
downloadrpg-055b0144ff6f679dfbd7a509306724beb68048f0.tar.gz
rpg-055b0144ff6f679dfbd7a509306724beb68048f0.tar.bz2
FS#1386, replace AUTH_WRITE with AUTH_EDIT
darcs-hash:20080417094010-f07c6-383f554d1e06f7fa9946994c5b5b7860b2d5d5db.gz
Diffstat (limited to 'lib/exe')
-rw-r--r--lib/exe/xmlrpc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/xmlrpc.php b/lib/exe/xmlrpc.php
index 9dd1a906c..cd8361b5d 100644
--- a/lib/exe/xmlrpc.php
+++ b/lib/exe/xmlrpc.php
@@ -209,7 +209,7 @@ class dokuwiki_xmlrpc_server extends IXR_IntrospectionServer {
return new IXR_ERROR(1, 'Refusing to write an empty new wiki page');
}
- if(auth_quickaclcheck($id) < AUTH_WRITE)
+ if(auth_quickaclcheck($id) < AUTH_EDIT)
return new IXR_Error(1, 'You are not allowed to edit this page');
// Check, if page is locked