def METHOD_NAME():
    if not g.userobj:
        h.flash_error(_(u'Not authorized to see this page'))
        return h.redirect_to(u'user.login')
    try:
        if not g.userobj:
            raise logic.NotAuthorized()
        context = dict(model=model, user=g.user, auth_user_obj=g.userobj)
        logic.check_access(u'site_read', context)
    except logic.NotAuthorized:
        base.abort(403, _(u'Not authorized to see this page'))