clarin-eric / VirtualCollectionRegistry

Virtual Collection Registry (VCR)
GNU General Public License v3.0
2 stars 0 forks source link

Allow connection to CMDI Explorer also for private collections #177

Open claus-zinn opened 2 years ago

claus-zinn commented 2 years ago

So far, only published collections can be send to CMDI Explorer (download action). Allow this also for private collections.

WillemElbers commented 2 years ago

Private collections are not publicly accessible. We would need to investigate how the CMDIExplorer could authenticate or allow the VCR to send the xml data directly to the CMDI explorer.

Does the CMDI Explorer currently support POSTing of cmdi data? If so, can you point me to the documentation or an example?

claus-zinn commented 2 years ago

No POST at the moment. But I could try to implement one in the coming days to make it possible posting CMDI metadata to CMDI Explorer.

claus-zinn commented 2 years ago

How is it possible that I can invoke the Switchboard with resources from a private collection?

WillemElbers commented 2 years ago

The resources are not hosted / tied to the virtual collection registry. Thus, if they are accessible (from either a public or private collection) they are also accessible for the switchboard. For downloading the collection this is different in the case of a private collection.

Also note: the VCR currently does not check accessibility of the resource before sending it to the switchboard, so it might send a protected resource the switchboard.