Re: LiveUser: Assign group to logged-out user?

From: Date: Sun, 03 Dec 2006 19:22:12 +0000
Subject: Re: LiveUser: Assign group to logged-out user?
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25966@lists.php.net to get a copy of this message
- not-logged-in user has rights RIGHT_1 and RIGHT_3
ok .. so why dont you just make RIGHT_1 and RIGHT_3 constants or elements in an array that you can configure to be null. That is what I do.
Thanks, that works for me at the moment. Anyway, it would be fine to have a group for logged-out users since setting the constants to 0 and assigning rights to a group are done in two different processes and unique identifiers aren't still unique. When I simply want to move a null-right I have to change the constants in the code instead of easily reassign to another group. And it assumes that all other logged-in users have these rights, too. E.g. what about right REGISTRATION_PROCESS_VIEW for logged-in users when I want to hide it from them? Kind regards, Hinnerk

« previous php.pear.general (#25966) next »