1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-28 14:54:50 -05:00

readonly attribute added to group saves

This commit is contained in:
Kyle Spearrin 2017-05-10 14:20:35 -04:00
parent f632a7650e
commit 76cebdd886
2 changed files with 6 additions and 3 deletions

View File

@ -22,11 +22,13 @@ BEGIN
INSERT INTO [dbo].[CollectionGroup]
(
[CollectionId],
[GroupId]
[GroupId],
[ReadOnly]
)
SELECT
@Id,
[Id]
[Id],
0
FROM
@GroupIds
WHERE

View File

@ -31,7 +31,8 @@ BEGIN
INSERT VALUES
(
@Id,
[Source].[Id]
[Source].[Id],
0
)
WHEN NOT MATCHED BY SOURCE
AND [Target].[CollectionId] = @Id THEN