You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a regular API key on Carto Dashboard (self hosted instance). When I assign the API Key Listing Datasets role for datasets created by another regular API (through import API) and datasets uploaded via the dashboard, I get "Validation failed: Grants can only grant table permissions you have" error. My question is, is it possible to create a regular API key which has access to datasets created by another API key and ones uploaded via the dashboard? All datasets belong to the same user and are visible from the dashboard.
Steps to Reproduce
Here are the steps to reproduce
Upload a dataset via the dashboard (dataset a)
Create a regular API key
Use the key created in step 3 above to import another dataset (dataset b) to CartoDB. Note ghost_tables flag is enabled for the database
Try create another regular API key. For the API role, select SQL and for Datasets role, select Listing then check "select" for both datasets a and b.
Hit "Save Changes" button.
Current Result
Getting error "Validation failed: Grants can only grant table permissions you have"
Expected result
I expect an API key to be created
Browser and version
Chrome
Additional info
Attached is a screnshot of the selected options and the error
The text was updated successfully, but these errors were encountered:
Context
I am trying to create a regular API key on Carto Dashboard (self hosted instance). When I assign the API Key Listing Datasets role for datasets created by another regular API (through import API) and datasets uploaded via the dashboard, I get "Validation failed: Grants can only grant table permissions you have" error. My question is, is it possible to create a regular API key which has access to datasets created by another API key and ones uploaded via the dashboard? All datasets belong to the same user and are visible from the dashboard.
Steps to Reproduce
Here are the steps to reproduce
Current Result
Getting error "Validation failed: Grants can only grant table permissions you have"
Expected result
I expect an API key to be created
Browser and version
Chrome
Additional info
Attached is a screnshot of the selected options and the error
The text was updated successfully, but these errors were encountered: