Hi folks, I wonder if I can add additional conditions for authentication.
In my application I have users belonging to different groups (using auth and acl). For various reasons I don't want to delete user accounts, but I want to be able to set them inactive. So far I did that with setting a field "deleted" in the users table to true. Now I have authentication in place and I wonder if I can still check on this field at the login action or if I have to transfer inactive users to a user group which has no access rights on anything. I don't like teh second option, because they could still login although won't see anything afterwards. Setting them inactive by the field seems cleaner to me, because then I can still see in which group they were, when they were active. I checked this tutorial: http://www.littlehart.net/atthekeyboard/2007/09/11/a-hopefully-useful-tu torial-for-using-cakephps-auth-component/ But there they merely write things to the cookie and don't do real authentication check. Or can I add this to the parentNode function in the user model? Any idea what the best approach would be? Thank you in advance! Anja --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
