X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=class.xorg.auth.php;h=ec5f9ba8e2a173dc81819670dab7bdb1e466b2db;hb=99c51f8fadc37e5b83f260d915c9b979766ac55e;hp=198f8ec7ca2da61e1e87248329fff132dcdcd9b6;hpb=3b8da081a09bb433b0216cc60781d0323f0681a1;p=dotclear.git diff --git a/class.xorg.auth.php b/class.xorg.auth.php index 198f8ec..ec5f9ba 100644 --- a/class.xorg.auth.php +++ b/class.xorg.auth.php @@ -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,