ckan 2.11
Steps to reproduce
- Create dataset - public access
- Create resource with a "restricted access" token (via this extension)
- Note that XLoader will not load to DataStore because of the restricted permission.
- Edit the resource restricted_api auth field back to "public"
- SAVE resource
- edit resource - load to Data Store
- ERROR: XLoader will not load to DataStore because of the restricted permission. (despite having changed to public). This seems like a bug - we just set the auth back to public yet xloader is still stuck.
The workaround is.
- delete the resource
- recreate and this time ensure restricted_api field is set to "public" on creation
- load data to the data store
- now can edit the resource and switch to "restricted setting" and all is good - data views and API available to logged in users only.
It would be more elegant if xloader inherited the change in auth from restricted when created with subsequent change to public .
ckan 2.11
Steps to reproduce
The workaround is.
It would be more elegant if xloader inherited the change in auth from restricted when created with subsequent change to public .