mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 21:48:12 -05:00
add missing [ViewPassword] true (#799)
This commit is contained in:
parent
6bc7a3cdc0
commit
cc9d18f6d2
@ -7,6 +7,7 @@ BEGIN
|
|||||||
SELECT
|
SELECT
|
||||||
*,
|
*,
|
||||||
1 [Edit],
|
1 [Edit],
|
||||||
|
1 [ViewPassword],
|
||||||
0 [OrganizationUseTotp]
|
0 [OrganizationUseTotp]
|
||||||
FROM
|
FROM
|
||||||
[dbo].[CipherDetails](@UserId)
|
[dbo].[CipherDetails](@UserId)
|
||||||
|
@ -951,3 +951,27 @@ BEGIN
|
|||||||
EXEC @UpdateCollectionsSuccess = [dbo].[Cipher_UpdateCollections] @Id, @UserId, @OrganizationId, @CollectionIds
|
EXEC @UpdateCollectionsSuccess = [dbo].[Cipher_UpdateCollections] @Id, @UserId, @OrganizationId, @CollectionIds
|
||||||
END
|
END
|
||||||
GO
|
GO
|
||||||
|
|
||||||
|
IF OBJECT_ID('[dbo].[CipherDetails_ReadWithoutOrganizationsByUserId]') IS NOT NULL
|
||||||
|
BEGIN
|
||||||
|
DROP PROCEDURE [dbo].[CipherDetails_ReadWithoutOrganizationsByUserId]
|
||||||
|
END
|
||||||
|
GO
|
||||||
|
|
||||||
|
CREATE PROCEDURE [dbo].[CipherDetails_ReadWithoutOrganizationsByUserId]
|
||||||
|
@UserId UNIQUEIDENTIFIER
|
||||||
|
AS
|
||||||
|
BEGIN
|
||||||
|
SET NOCOUNT ON
|
||||||
|
|
||||||
|
SELECT
|
||||||
|
*,
|
||||||
|
1 [Edit],
|
||||||
|
1 [ViewPassword],
|
||||||
|
0 [OrganizationUseTotp]
|
||||||
|
FROM
|
||||||
|
[dbo].[CipherDetails](@UserId)
|
||||||
|
WHERE
|
||||||
|
[UserId] = @UserId
|
||||||
|
END
|
||||||
|
GO
|
||||||
|
Loading…
x
Reference in New Issue
Block a user