1
0
mirror of https://github.com/bitwarden/server synced 2026-01-19 00:43:47 +00:00

CipherDetails Edit property

This commit is contained in:
Kyle Spearrin
2017-05-06 23:23:01 -04:00
parent 3018655d7e
commit b039461ff4
20 changed files with 96 additions and 150 deletions

View File

@@ -5,7 +5,11 @@ BEGIN
SET NOCOUNT ON
SELECT
C.*
C.*,
CASE
WHEN C.[UserId] IS NOT NULL OR OU.[AccessAll] = 1 OR CU.[ReadOnly] = 0 THEN 1
ELSE 0
END [Edit]
FROM
[dbo].[CipherDetails](@UserId) C
LEFT JOIN