message: [hotfix] slice with missing datasource related
diff: @@ -50,6 +50,7 @@ def set_related_perm(mapper, connection, target): # noqa
  src_class = target.cls_model
  id_ = target.datasource_id
  ds = db.session.query(src_class).filter_by(id=int(id_)).first()
  + if ds:
  target.perm = ds.perm
  