On Tuesday, May 3, 2011 4:16:59 PM UTC-4, Richard wrote: 
>
> You miss read... I know that. 
>
> My problem is that when I update my user status I have no switch except 
> build my own to not update the status of user that should stay blocked.
>
> I mean when I go for maintenance I put everybody to blocked but then when I 
> want to bring back access to user I put all the blocked to nothing so they 
> get access again... But the one who should stay blocked I have to check 
> (remember) and manually set them back to blocked... I could build a lookup 
> table to know which should stay blocked but a new key word (for example 
> "blocked_permanent") appear to me what I am searching for.
>
 
The book says you can use either "blocked" or "disabled" -- so why don't you 
use "disabled" for those who are only temporarily blocked, and use "blocked" 
for those who are permanently blocked? Note, you can also create a custom 
auth_user table and simply add a column to track those who are permanently 
blocked.
 
Anthony

Reply via email to