PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Authentication » LiveUser_Admin » Bug #4632

allowDuplicateHandles does not restrain admin->addUser()

Details

Submitted2005-06-19 16:32 UTC
Fromjan at ivtaco dot se
StatusBogus
PackageLiveUser_Admin
PHP VersionIrrelevant
Roadmaps(Not assigned)

Comments

[2005-06-19 16:32 UTC] jan at ivtaco dot se

Description:
------------
If the property "allowDuplicateHandles" is set within the LU config it does not put a restrain on the admin->addUser() function. I.e. the addUser function creates users with duplicateHandles.

[2005-06-20 10:28 UTC] smith at backendmedia dot com

Now I remember why we did not handle this in the admin API specifically. We are relying on the database to handle this for us (we will need to explictly handles this of course once we have an XML backend for the Admin API). There should be a unique contraints on your handle column. If you want to allow duplicate handles you will obviously need to remove this.