Owner of user blogs are free to choose writers.
[dotclear.git] / class.xorg.auth.php
index 670363e..33a5461 100644 (file)
@@ -90,8 +90,10 @@ class xorgAuth extends dcAuth {
       $perms = array('usage' => true,
                      'contentadmin' => true,
                      'admin' => true);
-    } else {
+    } else if ($type != 'user') {
       $perms = array();
+    } else {
+      return;
     }
     $core->setUserBlogPermissions($_SESSION['auth-xorg'],
                                   $blog->id,