from google.appengine.api import users
if users.is_current_user_admin():
return True
elif gae_login:
login_html = '<a href="%s">Sign in with your google account</a>.' \
% users.create_login_url(request.env.path_info)
raise HTTP(200, '<html><body>%s</body></html>' % login_html)
else:
return False
users is the a GAE API. So if you are not logged in you asks you to sign in. If you are signed and the user is an administrator, it returns True. Now Google manages you access, not web2py. This is Google App engine works.
Appadmin has noting to do with the session of your application. It relies exclusively on check_credentials with relies on Google login.
You as administrator have to know this and have to logout from Google in order to disable access to appadmin.
I am not understanding the issue?