Re: My Scenario

Lukas Kahwe Smith <[email protected]> Mon, 05 Sep 2005 10:55:42 +0200
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
Afrim S. wrote:

> $LU->checkRight(VIEW); //first part

Since VIEW cannot be a constant as there are multiple rights called VIEW 
per area and since the LiveUser client does not support lookups by name 
you will have to namespace the constant with the area name. 
Alternatively you can also use arrays instead of constants obviously.

There is a method in the perm container that will export rights 
namespaces by area and application into constants or arrays:

$LUadmin->perm->outputRightContants();

regards,
Lukas