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
Do not allows users to change the permissions if the previous request haven't succeed yet
Let's disable any ACL-related operations (e.g. disable checkboxes) until the current API request is in progress
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