1
0
mirror of https://github.com/bitwarden/server synced 2026-01-05 10:03:23 +00:00

return share information with cipher API response

This commit is contained in:
Kyle Spearrin
2017-02-21 22:52:02 -05:00
parent 8051995cc7
commit 900e71d4dd
11 changed files with 123 additions and 15 deletions

View File

@@ -0,0 +1,11 @@
CREATE VIEW [dbo].[CipherShareView]
AS
SELECT
C.*,
S.[Key],
S.[Permissions],
S.[Status]
FROM
[dbo].[Cipher] C
LEFT JOIN
[dbo].[Share] S ON C.[Id] = S.[CipherId]