equal
deleted
inserted
replaced
266 return not rtype in NONSYSTEM_RELATIONS |
266 return not rtype in NONSYSTEM_RELATIONS |
267 # due to current multi-sources implementation, the system source |
267 # due to current multi-sources implementation, the system source |
268 # can't claim not supporting a relation |
268 # can't claim not supporting a relation |
269 return True #not rtype == 'content_for' |
269 return True #not rtype == 'content_for' |
270 |
270 |
|
271 def may_cross_relation(self, rtype): |
|
272 return True |
|
273 |
271 def authenticate(self, session, login, password): |
274 def authenticate(self, session, login, password): |
272 """return CWUser eid for the given login/password if this account is |
275 """return CWUser eid for the given login/password if this account is |
273 defined in this source, else raise `AuthenticationError` |
276 defined in this source, else raise `AuthenticationError` |
274 |
277 |
275 two queries are needed since passwords are stored crypted, so we have |
278 two queries are needed since passwords are stored crypted, so we have |