Ok, but :

@auth.requires_login()
def jqgrid():

is already in the plugin_wiki controller.

Problem is still there.

Do we have to find a solution for the ajax callback?

Just to be sure we understand the problem correctly :

If the logged user has been on the page that uses jqgrid and he lets the
browser open for a wild on that page and come back and wants to sort the
data the plugin fail. It seems to work, but nothing changes. It looks like
the system is not working for lambda user.

Richard




On Thu, Sep 30, 2010 at 3:45 PM, mdipierro <[email protected]> wrote:

> There should be no need for that.
>
> the
>
> ``
> ...
>
> ``:widget
>
> is always embedded in a page that has permissions. So it will only be
> visible to users who have access to that page.
> the issue is the ajax callback.
>  That is already restricted to logged in users
>
> http://code.google.com/p/cube2py/source/browse/controllers/plugin_wiki.py
>
> @auth.requires_login()
> def jqgrid():
> ...
>
> Massimo
>
>
>
>
>
> On Sep 30, 2:41 pm, Bruno Rocha <[email protected]> wrote:
> > Thats not the best way, but I do:
> >
> > ``{{if auth.is_logged_in():}}``:template
> > ``table:xxxx``:jqgrid
> > ``{{pass}}``:template
> >
> > Ugly, but works.
> >
> > 2010/9/30 Richard Vézina <[email protected]>
> >
> >
> >
> > > Hello,
> >
> > > Is it possible to make jqgrid sensible to be "@auth.requires_login()"?
> >
> > > When there is a session that ends because no activity has been detect
> > > during long moment there is no message when user try to use the jqgrid
> > > control : search or refresh button...
> >
> > > I understand that it is a plugin that uses javascript, but maybe we can
> > > create a mechanism that could serve any plugin embeded. What do you
> think?
> >
> > > Regards.
> >
> > > Richard
> >
> > --
> >
> > http://rochacbruno.com.br
>

Reply via email to