Re: LiveUser: Assign group to logged-out user?
| From: | Lukas Kahwe Smith | Date: | Fri, 01 Dec 2006 10:22:54 +0000 |
| Subject: | Re: LiveUser: Assign group to logged-out user? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25950@lists.php.net to get a copy of this message | ||
Hinnerk Voss wrote:
Hi, can I assign a group to the logged-out user? I want to define a set of permissions that I always only have to check $LU->checkRight(RIGHT_ID) without extra checking of $LU->isLoggedIn().if a user is not logged in the following rules will apply: $right_id = null => return true else return false btw .. if you only want to check if a user is logged in .. you can also just pass $right_id = 0 regards, Lukas