1
0
mirror of https://github.com/bitwarden/server synced 2025-12-15 07:43:54 +00:00

revert UserCipherDetails tvf

This commit is contained in:
jaasen-livefront
2025-11-17 12:40:50 -08:00
parent d07bf31cbb
commit f75cdaf706

View File

@@ -12,19 +12,7 @@ WITH [CTE] AS (
AND [Status] = 2 -- Confirmed
)
SELECT
C.Id,
C.UserId,
C.OrganizationId,
C.Type,
C.Data,
C.Favorites,
C.Folders,
C.Attachments,
C.CreationDate,
C.RevisionDate,
C.DeletedDate,
C.Reprompt,
C.Key,
C.*,
CASE
WHEN COALESCE(CU.[ReadOnly], CG.[ReadOnly], 0) = 0
THEN 1