server/repository.py
changeset 2778 3f6dfc312760
parent 2756 2c94606eefc0
child 2784 f395115070c1
equal deleted inserted replaced
2777:8f7fcbe11879 2778:3f6dfc312760
   685         """
   685         """
   686         session = self._get_session(sessionid, setpool=False)
   686         session = self._get_session(sessionid, setpool=False)
   687         if props is not None:
   687         if props is not None:
   688             self.set_session_props(sessionid, props)
   688             self.set_session_props(sessionid, props)
   689         user = session.user
   689         user = session.user
   690         return user.eid, user.login, user.groups, user.properties
   690         return user.eid, user.cwdb.login, user.groups, user.properties
   691 
   691 
   692     def set_session_props(self, sessionid, props):
   692     def set_session_props(self, sessionid, props):
   693         """this method should be used by client to:
   693         """this method should be used by client to:
   694         * check session id validity
   694         * check session id validity
   695         * update user information on each user's request (i.e. groups and
   695         * update user information on each user's request (i.e. groups and