SciCatProject / backend-v3

SciCat Data Catalogue Backend
https://scicatproject.github.io/documentation/
BSD 3-Clause "New" or "Revised" License
13 stars 17 forks source link

Provide access to dataset logbook #699

Open nitrosx opened 1 year ago

nitrosx commented 1 year ago

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?