Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inviteShopMember clears account groups for other shops #6485

Open
mowafy opened this issue Feb 9, 2021 · 4 comments
Open

inviteShopMember clears account groups for other shops #6485

mowafy opened this issue Feb 9, 2021 · 4 comments
Assignees
Labels
bug For issues that describe a defect or regression in the released software hacktoberfest Tickets good for hackathon work needs triage For issues that are awaiting triage by the core development team

Comments

@mowafy
Copy link

mowafy commented Feb 9, 2021

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 mowafy added bug For issues that describe a defect or regression in the released software needs triage For issues that are awaiting triage by the core development team labels Feb 9, 2021
@zenweasel zenweasel transferred this issue from reactioncommerce/api-plugin-accounts Sep 21, 2022
@zenweasel zenweasel added the hacktoberfest Tickets good for hackathon work label Oct 7, 2022
@rheasharma13
Copy link

Hi @zenweasel , can I please work on this?

@zenweasel
Copy link
Collaborator

@rheasharma13 assigned to you

@vibh1103
Copy link

Hi @zenweasel can i pick this task ?

@delagroove
Copy link
Contributor

Hi @vibh1103 , you can pick this task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For issues that describe a defect or regression in the released software hacktoberfest Tickets good for hackathon work needs triage For issues that are awaiting triage by the core development team
Projects
Current Work
  
Plan
Development

No branches or pull requests

5 participants