New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource View reoder is not working for Non-sysadmin #4416

Engerrs opened this Issue Aug 21, 2018 · 1 comment


None yet
2 participants
Copy link

Engerrs commented Aug 21, 2018

CKAN Version

2.5, 2.6, 2.7

Expected behaviour

If for example, editor of some Organization tries to re-order the views for a resource, they reordered.

Actual behaviour

When Non-sysadmin user tries to re-order views for a resource, is gives an error that "resource_id" is not found.

To reproduce the issue

Create a new Editor/Admin in Organization, go to some resource of a dataset that has at least two resource views. Try to re-order them.


This comment has been minimized.

Copy link

Engerrs commented Aug 22, 2018

I created a small PR fix, but it can be fixed in a couple of ways, like adding this key at similar as it done in package controller or update js by adding new key in resource-view-reorder.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment