There is an inconsistency regarding user with nodes. Assume user has two nodes. Both nodes are unregistered. Trying to delete user you get however a message*"Error! The user still has registered nodes and can't be deleted."*
The relative SQLquery (person_nodes_sql) doesn't even bother if user's nodes are registered. User simply can't be deleted if he/she has any nodes, even unregistered. So this is not correct. The policy question is: can we accept deleting user who owns nodes, or we have first delete nodes and then finally delete user. In the second case I'd suggest modify error message as follows: " The user still owns nodes and can't be deleted". MU
smime.p7s
Description: Kryptograficzna sygnatura S/MIME
------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
