SciCatProject / scicat-backend-next

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

Backend development to enable table for user configuration of Facets and columns. #604

Closed markbasham closed 2 days ago

markbasham commented 1 year ago

Issue Name

Backend development to enable table for user configuration of Facets and columns.

Summary

The user configuration needs to be stored to the main Scicat database so that preferences for what columns can be seen, what facets can be filtered and the order and type of the metadata and scientific metadata sections.

markbasham commented 1 year ago

20230719_162507

nitrosx commented 1 year ago

We can leverage the userSettings endpoint, but we need to expand the user settings to include such list We will also need and endpoint for the defaults that is accessible only by admin users. The defaults will be used for anonymous users and to set up the user settings the first time or when the user request to reset her settings to the default. High level fields are standards, while metadata for default can only be set on metadata keys belonging to public datasets.

nitrosx commented 1 year ago

To summarize, we need to refactor the following endpoints:

First two endpoints are accessible logged in and admins, while the last two only to admins

nitrosx commented 3 months ago

@Ingvord are you currently working on this ticket? do you need help or will do a PR in the BE?

nitrosx commented 3 months ago

Is this a duplicate of #616 ? or viceversa?

Ingvord commented 3 months ago

@nitrosx I am slowly approaching :) This one definitely will be involved in my next steps. They way I see it - I will do a PR to this repo.

Seems to me that #616 is a subtask to this one