Add type='connected' for any connected user be able to write on the blog. Not yet...
[dotclear.git] / class.xorg.auth.php
index 198f8ec..ec5f9ba 100644 (file)
@@ -101,6 +101,8 @@ class xorgAuth extends dcAuth {
                      'admin' => true);
     } else if ($type == 'group-member' && $level == 'membre') {
       $perms = array('usage' => true);
+    } else if ($type == 'connected' && $this->xorg_infos['forlife'] != '') {
+      $perms = array('usage' => true);
     } else if ($type == 'user' && $owner == $this->xorg_infos['forlife']) {
       $perms = array('usage' => true,
                      'contentadmin' => true,