goa/gaesource.py
changeset 2476 1294a6bdf3bf
parent 2102 268659907769
child 3240 8604a15995d1
equal deleted inserted replaced
2475:b6753521129d 2476:1294a6bdf3bf
   153         rqlst.restricted_vars = ()
   153         rqlst.restricted_vars = ()
   154         rqlst.children[0].solutions = self._sols
   154         rqlst.children[0].solutions = self._sols
   155         return rqlst
   155         return rqlst
   156 
   156 
   157     def set_schema(self, schema):
   157     def set_schema(self, schema):
   158         """set the application'schema"""
   158         """set the instance'schema"""
   159         self.interpreter = RQLInterpreter(schema)
   159         self.interpreter = RQLInterpreter(schema)
   160         self.schema = schema
   160         self.schema = schema
   161         if 'CWUser' in schema and not self.repo.config['use-google-auth']:
   161         if 'CWUser' in schema and not self.repo.config['use-google-auth']:
   162             # rql syntax trees used to authenticate users
   162             # rql syntax trees used to authenticate users
   163             self._passwd_rqlst = self.compile_rql(self.passwd_rql)
   163             self._passwd_rqlst = self.compile_rql(self.passwd_rql)