Exemple #1
0
 def _get_ldap_agent(self, bind=True, secondary=False):
     agent = ldap_config.ldap_agent_with_config(self._config, bind)
     try:
         agent._author = logged_in_user(self.REQUEST)
     except AttributeError:
         agent._author = "System user"
     return agent
Exemple #2
0
 def _get_ldap_agent(self, bind=True, secondary=False):
     agent = ldap_config.ldap_agent_with_config(self._config,
                                                bind,
                                                secondary=secondary)
     try:
         agent._author = logged_in_user(self.REQUEST)
     except AttributeError:
         agent._author = "System user"
     return agent
Exemple #3
0
 def _get_ldap_agent(self, bind=True, secondary=False):
     agent = ldap_config.ldap_agent_with_config(self._config, bind,
                                                secondary=secondary)
     agent._author = logged_in_user(self.REQUEST)
     return agent