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:
11
src/Sql/dbo/Views/CipherShareView.sql
Normal file
11
src/Sql/dbo/Views/CipherShareView.sql
Normal 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]
|
||||
Reference in New Issue
Block a user