If you use the permission system you just need to do
auth_user­.registration_key = blocked or disabled... Use one of both for
permenently disabled a user without remove it record from the table. So
blocked for momently block access to your app and disabled for permanently
block a user to logon...

Then you can easily imagine to create a request to change the status of all
user to block all or to restore access to all blocked user... Use the where
clause to select the registration_key value to update or not.

Richard

2011/9/14 António Ramos <ramstei...@gmail.com>

> Hello
> i dont know if this is a stupid question but imagine i have 10 apps running
> in my server
>
> If i detect an error in one app and want do avoid users from loggin in what
> do i do.
> What is the best practice?
>
> A button"Enable/Disable" would be great in admin
>
>
>
> Thank you
>
> António
>

Reply via email to