--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/Px0b1zYX-Zg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/541b05b3-02b7-4bc8-8773-f093a41bc1ce%40googlegroups.com.
auth.messages.ajax_failed_authentication = DIV(H4(T('Your session has expired')),
T('Please '),
A(T('login'),
_href=auth.settings.login_url +
('?_next=' + urllib.quote(request.env.http_web2py_component_location))
if request.env.http_web2py_component_location else ''),
T(' again to view this content.'),
_class='not-authorized alert alert-block')
--
def user():
"""
exposes:
http://..../[app]/default/user/login
http://..../[app]/default/user/logout
http://..../[app]/default/user/register
http://..../[app]/default/user/profile
http://..../[app]/default/user/retrieve_password
http://..../[app]/default/user/change_password
use @auth.requires_login()
@auth.requires_membership('group name')
@auth.requires_permission('read','table name',record_id)
to decorate functions that need access control
"""To unsubscribe from this group and all its topics, send an email to web...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/badaa3f7-1281-412d-81a0-6b053adb8040%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CALkNK54dFiuG9YNKyLw5%3DeGQCZx7%2ByacSk%3Dn-aMLtjcOAq1yGQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CAERBpoAMzpD-71c4AOf_r5Yo18oFNdyjkONep%2BENpvrFM0G6JQ%40mail.gmail.com.