jvanlint / OPTICS

An open source Django based web application to provide a campaign management tool for Digital Combat Simulator.
1 stars 0 forks source link

duplicate values in reference tables #78

Closed Floydii closed 3 years ago

Floydii commented 3 years ago

Is there a way to police when new values are added to reference tables? case in point is the image below where there are two instances of 'takeoff / take off'. I assume if one is deleted, then all missions using that value will see it removed. Potential solution is a question that requires the person deleting the value to specify a value to replace it (so when I delete 'take off' it replaces all instances with 'takeoff' after I specify that).

I am unsure what level of permission is required to add new values, but I would suggest it is set at Admin only. image

jvanlint commented 3 years ago

Only admin types will be allowed to manipulate these values. This duplication is an error. Enforcing some kind of check is a little OTT.

jvanlint commented 3 years ago

I believe that addition of Takeoff was just a test and we will limit access to this screen in the future.