luethi / Discharge_Optical_Measurement

1 stars 0 forks source link

Deleting measurements on dischrage.ch #16

Closed phanosh closed 7 years ago

phanosh commented 7 years ago

How can a user (considering he has all rights over a site) delete measurements taken at that site? I am referring to measurements that any user has uploaded (e.g. in case of error).

Thanks, Phanos

luethi commented 7 years ago

actually he cannot, by design. It is like shooting a gun. you can't stick the bullet back in. However, there is the possibility that data can be validated. Default is: don't need to be validated.

phanosh commented 7 years ago

Ok, thanks. We were thinking that the admin or "head" of a certain organization should maye have the ability to delete some measurements. since the crowd senders will often be non-professionals, there is the possibility of wrong data uploaded. Is that something feasible?

luethi commented 7 years ago

That is what we want to use the validation feature. My opinion is: that every submitted measurement should leave it's trace. But of course, this is just my opinion. Let's see how it develops , technical we would fine a solution I guess

bosnjak commented 7 years ago

There will be a middle ground definitely, but no one will be able to actually delete a measurement. What they will be able to do (if they have the right permissions) is to mark them as "Rejected" - thus removing them from production data. They will still be used as metrics for other purposes like statistics etc. This feature is not prioritized in the next few weeks, but will be available in a reasonable time frame.

luethi commented 7 years ago

Hi Lovre , At some point we should continue our discussion on this. Let's do it on Tuesday

bosnjak commented 7 years ago

Sure!