Home » Authentication » LiveUser » Bug #1030
admin_exemple bug
Details
| Submitted | 2004-03-17 10:24 UTC |
|---|---|
| From | stephane dot gully at libertysurf dot fr |
| Assigned | dufuz |
| Status | Closed |
| Package | LiveUser |
| PHP Version | 4.3.3 |
| OS | linux |
| Roadmaps | (Not assigned) |
Comments
[2004-03-17 10:24 UTC] stephane dot gully at libertysurf dot fr
Description:
------------
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 ...
the patch : http://kerphi.dyndns.org/patch/admin_example.diff