mirror of
https://github.com/bitwarden/server.git
synced 2025-04-07 05:58:13 -05:00
check status on subvault user sprocs
This commit is contained in:
parent
ab173cf5cf
commit
0961d86d65
@ -13,5 +13,6 @@ BEGIN
|
|||||||
INNER JOIN
|
INNER JOIN
|
||||||
[dbo].[OrganizationUser] OU ON OU.[Id] = SU.[OrganizationUserId]
|
[dbo].[OrganizationUser] OU ON OU.[Id] = SU.[OrganizationUserId]
|
||||||
WHERE
|
WHERE
|
||||||
[OU].[UserId] = @UserId
|
OU.[UserId] = @UserId
|
||||||
|
AND OU.[Status] = 2 -- Confirmed
|
||||||
END
|
END
|
||||||
|
@ -14,4 +14,5 @@ BEGIN
|
|||||||
[OrganizationUser] OU ON OU.[Id] = SU.[OrganizationUserId]
|
[OrganizationUser] OU ON OU.[Id] = SU.[OrganizationUserId]
|
||||||
WHERE
|
WHERE
|
||||||
OU.[UserId] = @UserId
|
OU.[UserId] = @UserId
|
||||||
|
AND OU.[Status] = 2 -- Confirmed
|
||||||
END
|
END
|
||||||
|
Loading…
x
Reference in New Issue
Block a user