bcgov / MFIN-Data-Catalogue

The Finance Data Catalogue enables users to discover data holdings at the BC Ministry of Finance and offers information and functionality that benefits consumers of data for business purposes. The product is built using Drupal and adheres to the Government of BC's Core Administrative and Descriptive etadata Standard.
Other
6 stars 0 forks source link

Give the API role permission to create and edit paragraph/data_column entities #566

Open david-fong-bc opened 1 week ago

david-fong-bc commented 1 week ago

https://github.com/bcgov/MFIN-Data-Catalogue/labels/Idea


User story

As I am researching the capabilities and usability of the JSON:API module for potential future use to import data into the data catalogue, I would like to try using it to create and edit a data dictionary. I tried creating one via API and I received a 404 response code, which I'm guessing was translated from a 403 response code.

Describe the idea

If the API role does not have permissions to create and edit data_column entities that it created, could we try giving it that permission in the test environment?

Actions

NicoledeGreef commented 5 days ago

I suspect the API role does not have this permission enabled because Editor users can upload/download a data dictionary file, or create data dictionary entries manually.

That said, I support us toggling it on for the API role in Test so that it can be explored and tested to see if there is value in API users having access to it.

@danhgov or @chrislaick - could one of you please pick this up? it's currently a blocker.