1
0
mirror of https://github.com/bitwarden/server synced 2026-01-06 02:23:51 +00:00

org user subvaults apis

This commit is contained in:
Kyle Spearrin
2017-03-11 22:42:27 -05:00
parent 4a9206b992
commit cfb4d1453c
13 changed files with 124 additions and 54 deletions

View File

@@ -1,17 +0,0 @@
CREATE PROCEDURE [dbo].[Subvault_ReadByUserId]
@UserId UNIQUEIDENTIFIER
AS
BEGIN
SET NOCOUNT ON
SELECT
S.*
FROM
[dbo].[SubvaultView] S
INNER JOIN
[SubvaultUser] SU ON SU.[SubvaultId] = S.[Id]
INNER JOIN
[OrganizationUser] OU ON SU.[OrganizationUserId] = OU.[Id]
WHERE
OU.[UserId] = @UserId
END