From: Florent Bruneau Date: Sat, 31 May 2008 22:23:43 +0000 (+0200) Subject: Owner of user blogs are free to choose writers. X-Git-Url: http://git.polytechnique.org/?p=dotclear.git;a=commitdiff_plain;h=070afbd1d6c441e116f848d09ac65f9a88466924 Owner of user blogs are free to choose writers. Signed-off-by: Florent Bruneau --- diff --git a/class.xorg.auth.php b/class.xorg.auth.php index 670363e..33a5461 100644 --- a/class.xorg.auth.php +++ b/class.xorg.auth.php @@ -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,