This PR enables users with access to dataset or admin privileges to view the logbook associated with the dataset itself.
A new function has been added to the logbook model and a new endpoint to the dataset which returns the logbook associated with it if it exists.
Motivation
In the previous version, only dataset owners could see the logbook. Not even admin could see it.
Tests included/Docs Updated?
[x] Included for each change/fix?
[ ] Passing? (Merge will not be approved unless this is checked)
Description
This PR enables users with access to dataset or admin privileges to view the logbook associated with the dataset itself. A new function has been added to the logbook model and a new endpoint to the dataset which returns the logbook associated with it if it exists.
Motivation
In the previous version, only dataset owners could see the logbook. Not even admin could see it.
Tests included/Docs Updated?