reaction icon indicating copy to clipboard operation
reaction copied to clipboard

inviteShopMember clears account groups for other shops

Open mowafy opened this issue 4 years ago • 5 comments

Issue Description

Sending an invitation to already active account clears its already assigned groups

Steps to Reproduce

  1. Sign in as an admin
  2. Select a shop
  3. Invite user by email and set an account group for the current shop
  4. If user was already in a group of another shop, that group will be removed from account groups

Possible Solution

In case of an active user: use addAccountToGroup instead of updateGroupsForAccounts

Versions

reaction 3.11.0

mowafy avatar Feb 09 '21 12:02 mowafy

Hi @zenweasel , can I please work on this?

rheasharma13 avatar Oct 20 '22 14:10 rheasharma13

@rheasharma13 assigned to you

brent-hoover avatar Oct 20 '22 14:10 brent-hoover

Hi @zenweasel can i pick this task ?

vibh1103 avatar Sep 28 '23 17:09 vibh1103

Hi @vibh1103 , you can pick this task

delagroove avatar Oct 06 '23 11:10 delagroove