Re: [Patch] [LiveUser] auth and perm confusion

From: Date: Wed, 17 Mar 2004 10:08:17 +0000
Subject: Re: [Patch] [LiveUser] auth and perm confusion
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-26490@lists.php.net to get a copy of this message
Stephane GULLY wrote:
Hi, Here a little patch to correct a bug : when a perm-user has been created with : $user_perm_id = $objRightsAdminPerm->addUser($user_auth_id); and you want to grant user right with : $objRightsAdminPerm->grantUserRight($user_perm_id, $right_1); it's important to specify $user_perm_id and not $user_auth_id because this doesn match with DB structure ...
Thx for the patch. Could you add it to the bug database? Also there is already a bug report open for the examples, could you have a look if this patch duplicated there? Also you may find the patches there interesting anyways. regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07

« previous php.pear.dev (#26490) next »