From 070afbd1d6c441e116f848d09ac65f9a88466924 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sun, 1 Jun 2008 00:23:43 +0200 Subject: [PATCH] Owner of user blogs are free to choose writers. Signed-off-by: Florent Bruneau --- class.xorg.auth.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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, -- 2.1.4