ox-it / ords

Automatically exported from code.google.com/p/ords
0 stars 0 forks source link

Options for editing datasets could be improved #713

Open MerielP opened 9 years ago

MerielP commented 9 years ago

When you view the dataset list, each dataset has an 'Edit' button. This allows you to edit the dataset itself (i.e. edit the query, change whether it's publicly visible, etc.), and save the edited version. This is possible even if the dataset is a static one - leading to the problems described in issue #540. (Also, the 'Edit' button appears even if you're a Viewer, and hence can't edit anything.)

However, when you view the dataset, you only get an 'Edit query' button if the query is dynamic. It's not obvious why this should be, as the 'Edit query' button simply allows you to create a new query based on the one used to create the dataset (if you have the right privileges, you can then save the results as a new dataset). I assume the idea is to avoid misleading people - as the edited query would run on the current version of the data, rather than the one featured in the dataset. But it would be easy enough to flag this up to users - and I can easily imagine that running a query used to create a static dataset against the current version of the data is something people might want to be able to do.