1
0
mirror of https://github.com/bitwarden/server synced 2026-01-05 01:53:17 +00:00

Add support for new collection access, hide passwords

This commit is contained in:
hinton
2020-05-21 15:36:47 +02:00
parent 0cd90be83a
commit 36f15c67d0
26 changed files with 95 additions and 31 deletions

View File

@@ -23,6 +23,13 @@ SELECT
THEN 1
ELSE 0
END [Edit],
CASE
WHEN
CU.[HidePasswords] = 0
OR CG.[HidePasswords] = 0
THEN 1
ELSE 0
END [ViewPassword],
CASE
WHEN O.[UseTotp] = 1
THEN 1
@@ -55,6 +62,7 @@ UNION ALL
SELECT
*,
1 [Edit],
1 [ViewPassword],
0 [OrganizationUseTotp]
FROM
[dbo].[CipherDetails](@UserId)