Add conflict check for WOPI lock AssetSyncController [SCI-9758]

This commit is contained in:
Ivan Kljun 2023-12-05 14:47:46 +01:00
parent 88abc9defe
commit 2dfd270df2

View file

@ -18,7 +18,7 @@ class AssetSyncToken < ApplicationRecord
end
def conflicts?(token)
version_token != token
asset.locked? || version_token != token
end
private