From 055b0144ff6f679dfbd7a509306724beb68048f0 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Thu, 17 Apr 2008 11:40:10 +0200 Subject: FS#1386, replace AUTH_WRITE with AUTH_EDIT darcs-hash:20080417094010-f07c6-383f554d1e06f7fa9946994c5b5b7860b2d5d5db.gz --- lib/exe/xmlrpc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3