Re: [web2py] Enable/Disable App in admin

2011-09-14 Thread Richard Vézina
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...

[web2py] Enable/Disable App in admin

2011-09-14 Thread António Ramos
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