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
Data API checks the token is valid in usual way (i.e. correctly assigned)
Checks that the scope allows access to resource sought (may need a bit of work to configure that against scopes that CKAN can authorize - note this relates to bigger idea that Data APIs are associated to Dataset (maybe resource) and inherit their permissions)
Converts that into a hasura type scope and passes that along to Hasura (or provides appropriate callback for Hasura)
We can keep identify and permissions very simple i.e. just 2 roles: viewer (read), editor (read, write) and then make sure that wrapper app passed through right auth header
Key points
The Data API operates as a standalone service so it needs to work off JWT or similar
It receives an authorization token from the user and checks that against that requested resource
Acceptance
Tasks
Analysis
Check also related issue #26
Refer to issue #7
The text was updated successfully, but these errors were encountered: