Hi Maciej

On 2013-08-19, at 6:56 AM, Maciej Uhlig <[email protected]> wrote:

> 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".


I changed the error message and will commit it on github as soon as it's up 
again :/


Francis

--
[email protected] :: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)


------------------------------------------------------------------------------
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

Reply via email to