equal
deleted
inserted
replaced
339 It also pre-open the cubicweb session and put it in |
339 It also pre-open the cubicweb session and put it in |
340 request._cw_cached_session for later usage by :func:`_cw_session`. |
340 request._cw_cached_session for later usage by :func:`_cw_session`. |
341 |
341 |
342 .. note:: |
342 .. note:: |
343 |
343 |
344 It the default authentication policy is not used, make sure this |
344 If the default authentication policy is not used, make sure this |
345 function gets called by the active authentication policy. |
345 function gets called by the active authentication policy. |
346 |
346 |
347 :param login: A cubicweb user eid |
347 :param login: A cubicweb user eid |
348 :param request: A pyramid request |
348 :param request: A pyramid request |
349 :returns: A list of group names |
349 :returns: A list of group names |