equal
deleted
inserted
replaced
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) |