server/sources/native.py
changeset 9452 5308b3fe03c9
parent 9451 c83a8ecb9bf5
child 9463 d62e13eba033
equal deleted inserted replaced
9451:c83a8ecb9bf5 9452:5308b3fe03c9
   465         if write:
   465         if write:
   466             return not rtype in NONSYSTEM_RELATIONS
   466             return not rtype in NONSYSTEM_RELATIONS
   467         # due to current multi-sources implementation, the system source
   467         # due to current multi-sources implementation, the system source
   468         # can't claim not supporting a relation
   468         # can't claim not supporting a relation
   469         return True #not rtype == 'content_for'
   469         return True #not rtype == 'content_for'
   470 
       
   471     def may_cross_relation(self, rtype):
       
   472         return True
       
   473 
   470 
   474     def authenticate(self, session, login, **kwargs):
   471     def authenticate(self, session, login, **kwargs):
   475         """return CWUser eid for the given login and other authentication
   472         """return CWUser eid for the given login and other authentication
   476         information found in kwargs, else raise `AuthenticationError`
   473         information found in kwargs, else raise `AuthenticationError`
   477         """
   474         """