# hard-wire the code for slice/user for now, could be smarter if needed
if subject_type == 'slice' and target_type == 'user' and relation_name == 'researcher':
subject = self.shell.GetSlices({'slice_id': subject_id})[0]
# hard-wire the code for slice/user for now, could be smarter if needed
if subject_type == 'slice' and target_type == 'user' and relation_name == 'researcher':
subject = self.shell.GetSlices({'slice_id': subject_id})[0]