mirror of
https://github.com/bitwarden/server.git
synced 2025-05-21 03:24:31 -05:00
Add OrganizationUser_ReadByMinimumRole to Sql.sqlproj (#1555)
This commit is contained in:
parent
8f27f21ce0
commit
02866623f2
@ -132,6 +132,7 @@
|
|||||||
<Build Include="dbo\Stored Procedures\OrganizationUser_ReadByUserId.sql" />
|
<Build Include="dbo\Stored Procedures\OrganizationUser_ReadByUserId.sql" />
|
||||||
<Build Include="dbo\Stored Procedures\OrganizationUser_ReadCountByFreeOrganizationAdminUser.sql" />
|
<Build Include="dbo\Stored Procedures\OrganizationUser_ReadCountByFreeOrganizationAdminUser.sql" />
|
||||||
<Build Include="dbo\Stored Procedures\User_ReadAccountRevisionDateById.sql" />
|
<Build Include="dbo\Stored Procedures\User_ReadAccountRevisionDateById.sql" />
|
||||||
|
<Build Include="dbo\Stored Procedures\OrganizationUser_ReadByMinimumRole.sql" />
|
||||||
<Build Include="dbo\Stored Procedures\OrganizationUser_ReadCountByOrganizationId.sql" />
|
<Build Include="dbo\Stored Procedures\OrganizationUser_ReadCountByOrganizationId.sql" />
|
||||||
<Build Include="dbo\Stored Procedures\OrganizationUser_ReadCountByOnlyOwner.sql" />
|
<Build Include="dbo\Stored Procedures\OrganizationUser_ReadCountByOnlyOwner.sql" />
|
||||||
<Build Include="dbo\Stored Procedures\OrganizationUser_SelectKnownEmails.sql" />
|
<Build Include="dbo\Stored Procedures\OrganizationUser_SelectKnownEmails.sql" />
|
||||||
|
@ -17,6 +17,6 @@ BEGIN
|
|||||||
[dbo].[OrganizationUserUserDetailsView]
|
[dbo].[OrganizationUserUserDetailsView]
|
||||||
WHERE
|
WHERE
|
||||||
OrganizationId = @OrganizationId
|
OrganizationId = @OrganizationId
|
||||||
AND Status = 2
|
AND Status = 2 -- 2 = Confirmed
|
||||||
AND [Type] <= @MinRole
|
AND [Type] <= @MinRole
|
||||||
END
|
END
|
||||||
|
Loading…
x
Reference in New Issue
Block a user