Add type='connected' for any connected user be able to write on the blog. Not yet...
[dotclear.git] / page.webservice.php
index 6def8c7..2fbbb2d 100644 (file)
@@ -49,7 +49,7 @@ class XorgWebservice extends dcUrlHandlers {
     $owner = $_GET['owner'];
     $url   = rtrim($_GET['url'], '/') . '/';
     $type  = $_GET['type'];
-    if ($type != 'user' && $type != 'group-member' && $type != 'group-admin') {
+    if ($type != 'user' && $type != 'connected' && $type != 'group-member' && $type != 'group-admin') {
       return array('status' => false,
                    'message' => 'Invalid blog type required');
     }