mirror of
https://github.com/bitwarden/server
synced 2025-12-17 00:33:23 +00:00
revert UserCipherDetails tvf
This commit is contained in:
@@ -12,19 +12,7 @@ WITH [CTE] AS (
|
|||||||
AND [Status] = 2 -- Confirmed
|
AND [Status] = 2 -- Confirmed
|
||||||
)
|
)
|
||||||
SELECT
|
SELECT
|
||||||
C.Id,
|
C.*,
|
||||||
C.UserId,
|
|
||||||
C.OrganizationId,
|
|
||||||
C.Type,
|
|
||||||
C.Data,
|
|
||||||
C.Favorites,
|
|
||||||
C.Folders,
|
|
||||||
C.Attachments,
|
|
||||||
C.CreationDate,
|
|
||||||
C.RevisionDate,
|
|
||||||
C.DeletedDate,
|
|
||||||
C.Reprompt,
|
|
||||||
C.Key,
|
|
||||||
CASE
|
CASE
|
||||||
WHEN COALESCE(CU.[ReadOnly], CG.[ReadOnly], 0) = 0
|
WHEN COALESCE(CU.[ReadOnly], CG.[ReadOnly], 0) = 0
|
||||||
THEN 1
|
THEN 1
|
||||||
|
|||||||
Reference in New Issue
Block a user