code: func (g *metadataGraph) insert(c context.Context, ents []*packageACL) {
  	for _, e := range ents {
  		if e.ModifiedTS.IsZero() {
  			continue // zero body, no such entity in the datastore, skip
  		}
  		role, pfx, err := e.parseKey()
  		if err != nil {
  			logging.Errorf(c, "Skipping bad PackageACL entity - %s", err)
  			continue
  		}
  		g.node(pfx).attachACL(role, e)
  	}
  }
docs: // insert attaches ACL in the given entities to nodes in the graph.
  //
  // Silently ignores empty entities (based on ModifiedTS value). Logs and ignores
  // broken ones. The context is used only for logging.