mirror of
https://github.com/bitwarden/server.git
synced 2025-01-25 22:21:38 +01:00
[AC-1682] Removed updating CollectionUser existing records with [ReadOnly] = 0 and [HidePasswords] = 0
This commit is contained in:
parent
1e2a15db8f
commit
086c88f3c6
@ -112,9 +112,7 @@ BEGIN
|
||||
-- Step 3
|
||||
-- Update [dbo].[CollectionUser] with [Manage] = 1 using the temporary table
|
||||
UPDATE CU
|
||||
SET CU.[ReadOnly] = 0,
|
||||
CU.[HidePasswords] = 0,
|
||||
CU.[Manage] = 1
|
||||
SET CU.[Manage] = 1
|
||||
FROM [dbo].[CollectionUser] CU
|
||||
INNER JOIN #TempUserManagers TUM ON CU.[OrganizationUserId] = TUM.[OrganizationUserId];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user