+
+ # subject_record describes the subject of the relationships
+ # ref_record contains the target values for the various relationships we need to manage
+ # (to begin with, this is just the slice x person relationship)
+ def update_relations (self, subject_obj, ref_obj):
+ type=subject_obj.type
+ if type=='slice':
+ self.update_relation(subject_obj, 'researcher', ref_obj.researcher, 'user')
+