pyramid_cubicweb/core.py
changeset 11622 308ac9def79f
parent 11589 7079ba70c2a7
child 11630 1400aee10df4
equal deleted inserted replaced
11621:5747d4c2e083 11622:308ac9def79f
   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