mirror of
https://github.com/bitwarden/server.git
synced 2025-01-22 21:51:22 +01:00
limit update to available subvaults
This commit is contained in:
parent
3459be8143
commit
4da172a94b
@ -28,7 +28,8 @@ BEGIN
|
||||
ON
|
||||
[Target].[SubvaultId] = [Source].[Id]
|
||||
AND [Target].[CipherId] = @CipherId
|
||||
WHEN NOT MATCHED BY TARGET THEN
|
||||
WHEN NOT MATCHED BY TARGET
|
||||
AND [Source].[Id] IN (SELECT [SubvaultId] FROM [AvailableSubvaultsCTE]) THEN
|
||||
INSERT VALUES
|
||||
(
|
||||
[Source].[Id],
|
||||
|
Loading…
Reference in New Issue
Block a user