Re: [Patch] [LiveUser] auth and perm confusion
| From: | Stephane GULLY | Date: | Wed, 17 Mar 2004 10:43:28 +0000 |
| Subject: | Re: [Patch] [LiveUser] auth and perm confusion | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-26494@lists.php.net to get a copy of this message | ||
Lukas Smith wrote:
Stephane GULLY wrote:Done ! The other bug report does not have anything has to see with mine. StephaneHi, 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.