aces / cbrain

CBRAIN is a flexible Ruby on Rails framework for accessing and processing of large data on high-performance computing infrastructures.
GNU General Public License v3.0
71 stars 42 forks source link

prevent rename from creating similarly named files on the same provider, user and group with rename #1245

Open MontrealSergiy opened 2 years ago

MontrealSergiy commented 2 years ago

One can upload or register a few files to the same provider and the rename both to same name. This should not be possible, cbrain files should have different names Screenshot from 2022-06-07 13-14-03 step to reproduce

  1. register a few files
  2. select one file, click rename and enter the name of second followed by enter observed: files with a same name expected: error message