epam / cloud-pipeline

Cloud agnostic genomics analysis, scientific computation and storage platform
https://cloud-pipeline.com
Apache License 2.0
146 stars 59 forks source link

Permissions dialog causes "duplicate key" exception #2035

Open sidoruka opened 3 years ago

sidoruka commented 3 years ago

Describe the bug If the user changes R/W/X permissions of the objects within the permissions management dialog quite fast (so that the API calls are executed almost simultaneously) - this causes "duplicate key" exception on the API side. As multiple records are being added to the DB in the same time.

Expected behavior

rodichenko commented 3 years ago

@sidoruka fixed, backported to release/0.16 (2922741f826428ecb00be582d9382aa6edd93feb)

rodichenko commented 3 years ago

7a186e72cafe0c210885209fec4f16e1b31317a9 32be448e2a6b844b17a976d36999b94eb38baa1b commits belong to the #2023