mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 08:32:50 -05:00

* Update sql files to add Manage permission * Add migration script * Rename collection manage migration file to remove duplicate migration date * Migrations * Add manage to models * Add manage to repository * Add constraint to Manage columns * Migration lint fixes * Add manage to OrganizationUserUserDetails_ReadWithCollectionsById * Add missing manage fields * Add 'Manage' to UserCollectionDetails * Use CREATE OR ALTER where possible
17 lines
315 B
Transact-SQL
17 lines
315 B
Transact-SQL
CREATE PROCEDURE [dbo].[CollectionGroup_ReadByCollectionId]
|
|
@CollectionId UNIQUEIDENTIFIER
|
|
AS
|
|
BEGIN
|
|
SET NOCOUNT ON
|
|
|
|
SELECT
|
|
[GroupId] [Id],
|
|
[ReadOnly],
|
|
[HidePasswords],
|
|
[Manage]
|
|
FROM
|
|
[dbo].[CollectionGroup]
|
|
WHERE
|
|
[CollectionId] = @CollectionId
|
|
END
|